mobile: fix appending link to empty note stuck

This commit is contained in:
ammarahm-ed
2023-06-15 16:43:04 +05:00
committed by Ammar Ahmed
parent 5041e47902
commit 574c4cc8a9

View File

@@ -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,