Bug fixes.
This commit is contained in:
1 parent
13dddb3764
commit
4217e890fc
3 files changed
+4
-4
No files matched your search
@@ -30,7 +30,7 @@ export default function MenuButton({
|
||||
}
|
||||
|
||||
useDocumentClick(e => {
|
||||
if (!ref.current.contains(e.target)) {
|
||||
if (!ref.current?.contains(e.target)) {
|
||||
setShowMenu(false);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user