diff --git a/apps/web/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsx index b4068ee8b..0fdd30849 100644 --- a/apps/web/src/components/editor/index.tsx +++ b/apps/web/src/components/editor/index.tsx @@ -116,7 +116,7 @@ export default function EditorManager({ if (!isOldSession) return; openSession(noteId); - }, [openSession, noteId, isOldSession]); + }, [openSession, noteId, isOldSession, isReadonly]); return (