From b27cd4be0fe28c16cab2fc23923e35657d3af476 Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Mon, 1 Jul 2024 11:16:16 +0500 Subject: [PATCH] mobile: set initial lastContentChangeTime to 0 --- apps/mobile/app/screens/editor/tiptap/use-editor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/app/screens/editor/tiptap/use-editor.ts b/apps/mobile/app/screens/editor/tiptap/use-editor.ts index bb4f0ac0a..35f3f6483 100644 --- a/apps/mobile/app/screens/editor/tiptap/use-editor.ts +++ b/apps/mobile/app/screens/editor/tiptap/use-editor.ts @@ -569,7 +569,7 @@ export const useEditor = ( return; } - lastContentChangeTime.current[item.id] = item.dateEdited; + lastContentChangeTime.current[item.id] = 0; currentLoadingNoteId.current = item.id; currentNotes.current[item.id] = item;