From e7d2d088ba76025582cdb65ef994245a4c091f8f Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sun, 25 Feb 2024 13:37:29 +0800 Subject: [PATCH] Super weird fix for clicks "leaked" to the container --- src/components/nav-menu.jsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/nav-menu.jsx b/src/components/nav-menu.jsx index 0f13774d..1d61d9b2 100644 --- a/src/components/nav-menu.jsx +++ b/src/components/nav-menu.jsx @@ -83,6 +83,7 @@ function NavMenu(props) { return results; } + const buttonClickTS = useRef(); return ( <>