summaryrefslogtreecommitdiff
path: root/components/Sidebar/index.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-04 14:17:34 +0200
committerThomas F. K. Jorna <[email protected]>2021-10-04 14:17:34 +0200
commit90820ca13a51b8a7e77d15896b0d34f9aba829fd (patch)
treee21b378dce18e7073b308d30f0da19b38217e695 /components/Sidebar/index.tsx
parent1b488b87fef21c1f430db4131e3ceb82f25612cf (diff)
fix: made viewer work
Diffstat (limited to 'components/Sidebar/index.tsx')
-rw-r--r--components/Sidebar/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/Sidebar/index.tsx b/components/Sidebar/index.tsx
index 3332d39..e3845d9 100644
--- a/components/Sidebar/index.tsx
+++ b/components/Sidebar/index.tsx
@@ -88,7 +88,7 @@ const Sidebar = (props: SidebarProps) => {
alignItems="center"
color="black"
>
- <Heading size="md">{previewRoamNode}</Heading>
+ <Heading size="md">{previewRoamNode?.title}</Heading>
</Flex>
<Scrollbars
//autoHeight