From 8ad75663f2fa74980dcd502e01c0841149d1f392 Mon Sep 17 00:00:00 2001 From: Nishant Kaushal <101548649+nishant0708@users.noreply.github.com> Date: Tue, 2 Jul 2024 04:55:20 +0530 Subject: [PATCH] fixed about scrolling bug --- src/pages/About/About.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/About/About.jsx b/src/pages/About/About.jsx index 0e64e6e..39ffaf7 100644 --- a/src/pages/About/About.jsx +++ b/src/pages/About/About.jsx @@ -16,7 +16,7 @@ const AboutUs = () => { const [uxHovered, setUxHovered] = useState(false); useEffect(() => { window.scrollTo(0, 0); - }); + },[]); return (