mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
fix: changes lost when toggling read only mode
(fixes streetwriters/notesnook#778)
This commit is contained in:
@@ -116,7 +116,7 @@ export default function EditorManager({
|
||||
if (!isOldSession) return;
|
||||
|
||||
openSession(noteId);
|
||||
}, [openSession, noteId, isOldSession]);
|
||||
}, [openSession, noteId, isOldSession, isReadonly]);
|
||||
|
||||
return (
|
||||
<Flex
|
||||
|
||||
Reference in New Issue
Block a user