chore: app group optimizations (#1027)
This commit is contained in:
@@ -21,7 +21,7 @@ export const NotesContextMenu = observer(({ application, appState }: Props) => {
|
||||
|
||||
const reloadContextMenuLayout = useCallback(() => {
|
||||
appState.notes.reloadContextMenuLayout()
|
||||
}, [appState.notes])
|
||||
}, [appState])
|
||||
|
||||
useEffect(() => {
|
||||
window.addEventListener('resize', reloadContextMenuLayout)
|
||||
|
||||
Reference in New Issue
Block a user