Need unmount because every page mounts its own nav menu

This commit is contained in:
Lim Chee Aun 2023-04-26 12:39:54 +08:00
parent 4001e1c47a
commit e39ed219eb

View file

@ -48,6 +48,7 @@ function NavMenu(props) {
overflow="auto"
viewScroll="close"
boundingBoxPadding="8 8 8 8"
unmountOnClose
menuButton={({ open }) => (
<button
type="button"