mirror of
https://github.com/standardnotes/mobile.git
synced 2026-02-05 13:31:34 -05:00
fix: note lock error on Android
This commit is contained in:
@@ -339,13 +339,13 @@ export const Compose = (): JSX.Element => {
|
||||
|
||||
return () => {
|
||||
mounted = false;
|
||||
removeEditorNoteValueChangeObserver;
|
||||
removeEditorNoteValueChangeObserver &&
|
||||
removeEditorNoteValueChangeObserver();
|
||||
};
|
||||
}, [
|
||||
editor,
|
||||
editorComponent,
|
||||
note,
|
||||
note?.locked,
|
||||
showAllChangesSavedStatus,
|
||||
showSavingStatus,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user