Skip to content

Commit

Permalink
fix: quick links memoization #9436
Browse files Browse the repository at this point in the history
  • Loading branch information
sprocketc committed May 24, 2023
1 parent c34d5c9 commit cd8e4b8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -25,7 +25,7 @@ export const QuickLinks: TLQuickLinksComponent<Shape> = 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

Expand Down

0 comments on commit cd8e4b8

Please sign in to comment.