mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-29 00:20:04 +01:00
mobile: fix appending link to empty note stuck
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user