mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
mobile: use contentBlocksWithLinks
This commit is contained in:
committed by
Abdullah Atta
parent
0a5f0d407e
commit
9d700f6fd1
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user