From 9d700f6fd1e5a55dfcf7236d7e8a41007ad72ed8 Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Mon, 18 Mar 2024 10:22:28 +0500 Subject: [PATCH] mobile: use contentBlocksWithLinks --- apps/mobile/app/components/sheets/references/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) =>