From cd8e4b8d0bbe63c74af3eb43d7344144126bd38b Mon Sep 17 00:00:00 2001 From: Konstantinos Kaloutas Date: Wed, 24 May 2023 13:25:14 +0300 Subject: [PATCH] fix: quick links memoization #9436 --- .../apps/tldraw-logseq/src/components/QuickLinks/QuickLinks.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tldraw/apps/tldraw-logseq/src/components/QuickLinks/QuickLinks.tsx b/tldraw/apps/tldraw-logseq/src/components/QuickLinks/QuickLinks.tsx index 87deb97180..908edc1996 100644 --- a/tldraw/apps/tldraw-logseq/src/components/QuickLinks/QuickLinks.tsx +++ b/tldraw/apps/tldraw-logseq/src/components/QuickLinks/QuickLinks.tsx @@ -25,7 +25,7 @@ export const QuickLinks: TLQuickLinksComponent = observer(({ shape }) => link[0].toLowerCase() !== app.currentPage.name && handlers.getBlockPageName(link[0]) !== app.currentPage.name ) - }, [shape.props.type, shape.props.parentId, shape.props.refs]) + }, [shape.props.id, shape.props.type, shape.props.parentId, shape.props.refs]) if (links.length === 0) return null