Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: use contentBlocksWithLinks

Ammar Ahmed9d700f6fd1e5
diff --git a/apps/mobile/app/components/sheets/references/index.tsx b/apps/mobile/app/components/sheets/references/index.tsx
index 85fdc445c..27d66b8fc 100644
--- a/apps/mobile/app/components/sheets/references/index.tsx
+++ b/apps/mobile/app/components/sheets/references/index.tsx
@@ -241,7 +241,8 @@ const ListNoteItem = ({
} else {
if (noteInternalLinks.length) return;
setLoading(true);
- const blocks = await db.notes.contentBlocks(item.id);
+
+ const blocks = await db.notes.contentBlocksWithLinks(item.id);
setNoteInternalLinks(
blocks
.filter((block) =>