summaryrefslogtreecommitdiff
path: root/src/pages/index.jsx
diff options
context:
space:
mode:
authorHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-07-17 16:58:42 +0700
committerHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-07-17 16:58:42 +0700
commite76d537689d08fb4c15d482ffa996b8012dbc941 (patch)
tree17267b16ba50c89d55c29ea8c962312c05bdcb70 /src/pages/index.jsx
parent581334e8d077916c3a9ab87fd5b6e6b5126aba12 (diff)
parente39d3b0082e83ad08044918f0b6d8e977223100d (diff)
Merge branch 'Feature/voucher' into Feature/promotion_programvaoucher
# Conflicts: # src/lib/cart/components/Cart.jsx # src/lib/checkout/components/Checkout.jsx # src/lib/product/components/Product/Product.jsx # src/lib/product/components/Product/ProductDesktop.jsx # src/lib/product/components/Product/ProductMobile.jsx
Diffstat (limited to 'src/pages/index.jsx')
-rw-r--r--src/pages/index.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/index.jsx b/src/pages/index.jsx
index cd421987..12d2ab46 100644
--- a/src/pages/index.jsx
+++ b/src/pages/index.jsx
@@ -32,7 +32,7 @@ export default function Home() {
const handleOnLoad = () => {
wrapperRef.current.style.height =
- bannerRef.current.querySelector(':first-child').clientHeight + 'px'
+ bannerRef.current?.querySelector(':first-child')?.clientHeight + 'px'
}
return (