summaryrefslogtreecommitdiff
path: root/components/Sidebar
diff options
context:
space:
mode:
Diffstat (limited to 'components/Sidebar')
-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