mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
fix: #50
This commit is contained in:
@@ -34,8 +34,8 @@ function Menu(props) {
|
||||
onClick={e => {
|
||||
e.stopPropagation();
|
||||
Dropdown.closeLastOpened();
|
||||
if (props.dropdownRef) {
|
||||
props.dropdownRef.hide();
|
||||
if (props.closeMenu) {
|
||||
props.closeMenu();
|
||||
}
|
||||
if (item.onClick) {
|
||||
item.onClick(props.data);
|
||||
|
||||
Reference in New Issue
Block a user