refactor: better format

This commit is contained in:
Antonella Sgarlatta
2021-05-05 11:31:04 -03:00
parent bffe63cc3c
commit e5750e88c6
3 changed files with 41 additions and 29 deletions

View File

@@ -16,7 +16,7 @@ const NotesContextMenu = observer(({ appState }: Props) => {
);
const closeOnClickOutside = (event: MouseEvent) => {
if (!contextMenuRef.current?.contains(event.target as Node)) {
if (!contextMenuRef.current?.contains(event.target as Node)) {
appState.notes.setContextMenuOpen(false);
}
};