close sub-nav on click
This commit is contained in:
parent
47f8bd0fe3
commit
25f6e7905e
|
@ -711,7 +711,7 @@ export const ExpandableMenuItem = ({
|
|||
<h3 className="text-sm font-bold">{panelTitle}</h3>
|
||||
) : null}
|
||||
</div>
|
||||
<div>{children}</div>
|
||||
<div onClick={() => setIsOpen(false)}>{children}</div>
|
||||
</div>
|
||||
</Popover.Panel>
|
||||
</Transition>
|
||||
|
|
Loading…
Reference in New Issue