From e39ed219eb7b5bcf6012ace71b1a4f0e4d3bd00f Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Wed, 26 Apr 2023 12:39:54 +0800 Subject: [PATCH] Need unmount because every page mounts its own nav menu --- src/components/menu.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/menu.jsx b/src/components/menu.jsx index 7c24dcd3..b67053f4 100644 --- a/src/components/menu.jsx +++ b/src/components/menu.jsx @@ -48,6 +48,7 @@ function NavMenu(props) { overflow="auto" viewScroll="close" boundingBoxPadding="8 8 8 8" + unmountOnClose menuButton={({ open }) => (