From 290114b315a2f478113918cd8fc37737a47f8e70 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Tue, 20 Jun 2023 09:01:38 +0700 Subject: Update UI style --- src/pages/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pages/index.jsx') diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 43a3b8c9..9900e405 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -31,7 +31,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 ( -- cgit v1.2.3