mobile: use contentBlocksWithLinks

This commit is contained in:
Ammar Ahmed
2024-03-18 10:22:28 +05:00
committed by Abdullah Atta
parent 0a5f0d407e
commit 9d700f6fd1

View File

@@ -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) =>