mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +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;
|
if (!isOldSession) return;
|
||||||
|
|
||||||
openSession(noteId);
|
openSession(noteId);
|
||||||
}, [openSession, noteId, isOldSession]);
|
}, [openSession, noteId, isOldSession, isReadonly]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Flex
|
<Flex
|
||||||
|
|||||||
Reference in New Issue
Block a user