summaryrefslogtreecommitdiff
path: root/components/Sidebar/Title.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/Sidebar/Title.tsx')
-rw-r--r--components/Sidebar/Title.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/Sidebar/Title.tsx b/components/Sidebar/Title.tsx
index 5d39190..2c8d8b7 100644
--- a/components/Sidebar/Title.tsx
+++ b/components/Sidebar/Title.tsx
@@ -4,7 +4,7 @@ import { BiFile } from 'react-icons/bi'
import { OrgRoamNode } from '../../api'
export interface TitleProps {
- previewNode: OrgRoamNode
+ previewNode: OrgRoamNode | undefined
}
export const Title = (props: TitleProps) => {