mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-16 23:31:19 +03:00
Need unmount because every page mounts its own nav menu
This commit is contained in:
parent
4001e1c47a
commit
e39ed219eb
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ function NavMenu(props) {
|
||||||
overflow="auto"
|
overflow="auto"
|
||||||
viewScroll="close"
|
viewScroll="close"
|
||||||
boundingBoxPadding="8 8 8 8"
|
boundingBoxPadding="8 8 8 8"
|
||||||
|
unmountOnClose
|
||||||
menuButton={({ open }) => (
|
menuButton={({ open }) => (
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
|
|
Loading…
Add table
Reference in a new issue