diff --git a/apps/web/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsx index 68588fca1..564bc97b2 100644 --- a/apps/web/src/components/editor/index.tsx +++ b/apps/web/src/components/editor/index.tsx @@ -252,7 +252,6 @@ function EditorView({ const lastChangedTime = useRef(0); const root = useRef(null); - const toggleProperties = useEditorStore((store) => store.toggleProperties); const isFocusMode = useAppStore((store) => store.isFocusMode); const editor = useEditorManager((store) => store.editors[session.id]?.editor); @@ -376,7 +375,6 @@ function EditorView({ }} options={{ readonly: session?.type === "readonly" || session?.type === "deleted", - onRequestFocus: () => toggleProperties(false), focusMode: isFocusMode }} />