mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 14:17:13 +01:00
Bug fixes.
This commit is contained in:
parent
13dddb3764
commit
4217e890fc
3 changed files with 4 additions and 4 deletions
|
|
@ -30,7 +30,7 @@ export default function MenuButton({
|
|||
}
|
||||
|
||||
useDocumentClick(e => {
|
||||
if (!ref.current.contains(e.target)) {
|
||||
if (!ref.current?.contains(e.target)) {
|
||||
setShowMenu(false);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue