diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-10-09 20:07:46 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-10-09 20:07:46 +0200 |
commit | 9d1692fbcf322db2d95586b1ab6768ba9328e5df (patch) | |
tree | ea378c4ca80e036cd2f26577b15ea652bb7f9e9b /components/Sidebar/Link.tsx | |
parent | 330bf49492a8babf5a1fc5f8d4c88f3237a0c1f8 (diff) |
fix(preview): links in preview showing wrong name
Diffstat (limited to 'components/Sidebar/Link.tsx')
-rw-r--r-- | components/Sidebar/Link.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/Sidebar/Link.tsx b/components/Sidebar/Link.tsx index 3791c74..16fc2ac 100644 --- a/components/Sidebar/Link.tsx +++ b/components/Sidebar/Link.tsx @@ -72,7 +72,7 @@ export const NormalLink = (props: NormalLinkProps) => { _hover={{ textDecoration: 'none', cursor: 'pointer', bgColor: coolHighlightColor + '22' }} _focus={{ outlineColor: highlightColor }} > - {children} + {nodeById[uri]?.title} </Text> ) } |