From 78f15c54c2e0d1f61abc9eec4d88ee020b191e95 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <hello@tefkah.com>
Date: Tue, 2 Nov 2021 23:24:07 +0100
Subject: Feat/collapse: add collapsible/toggleable headers and outline layout
 in the preview panel (#139)

* feat(preview): collapsible headings

* feat(preview): collapsible headings

* feat(collapse): change icons for headings

* feat(collapse):

* feat(collapse): use new uniorg and better looks

* feat(collapse): fix typescript errors

* fix(ci): better filter

* feat(collapse): more small adjustments

* feat(collapse): collapse all button

* fix(collapse): fix global css

* fix(cd): remove yarn and add export

* fix(collapse): type-errors

* fix(cd): fix format-all fucking up yml
---
 components/Sidebar/Title.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'components/Sidebar/Title.tsx')

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) => {
-- 
cgit v1.2.3

