diff --git a/apps/mobile/app/components/list-items/note/wrapper.tsx b/apps/mobile/app/components/list-items/note/wrapper.tsx index fc649365e..3ea524653 100644 --- a/apps/mobile/app/components/list-items/note/wrapper.tsx +++ b/apps/mobile/app/components/list-items/note/wrapper.tsx @@ -58,9 +58,9 @@ export const openNote = async ( } if (isTrash) { - if (!note.contentId) return; - - const content = await db.content.get(note.contentId as string); + const content = note.contentId + ? await db.content.get(note.contentId) + : undefined; presentSheet({ component: }); diff --git a/apps/mobile/app/components/note-history/preview.tsx b/apps/mobile/app/components/note-history/preview.tsx index a92afc887..b2a7f4510 100644 --- a/apps/mobile/app/components/note-history/preview.tsx +++ b/apps/mobile/app/components/note-history/preview.tsx @@ -198,7 +198,7 @@ export default function NotePreview({