From 59264d1ed0da66df8d6920ebc6781c7b201dba6f Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Thu, 15 Jun 2023 16:43:04 +0500 Subject: [PATCH] mobile: fix appending link to empty note stuck --- apps/mobile/share/share.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/share/share.js b/apps/mobile/share/share.js index 52547c952..58d6adebf 100644 --- a/apps/mobile/share/share.js +++ b/apps/mobile/share/share.js @@ -354,7 +354,7 @@ const ShareView = ({ quicknote = false }) => { let raw = await db.content.raw(appendNote.contentId); _note = { content: { - data: raw.data + noteContent.current, + data: (raw?.data || "") + noteContent.current, type: "tiptap" }, id: appendNote.id,