summaryrefslogtreecommitdiff
path: root/components/Sidebar/Title.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-11-02 23:24:07 +0100
committerGitHub <[email protected]>2021-11-02 23:24:07 +0100
commit78f15c54c2e0d1f61abc9eec4d88ee020b191e95 (patch)
tree5aa007482d9e6f9e1aeb32429dcedf4f48073e33 /components/Sidebar/Title.tsx
parentd7d75c295209acbb9c0f48676b6059ae2fa76aeb (diff)
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
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) => {