summaryrefslogtreecommitdiff
path: root/components/Sidebar/Note.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/Sidebar/Note.tsx')
-rw-r--r--components/Sidebar/Note.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/Sidebar/Note.tsx b/components/Sidebar/Note.tsx
index 2b76994..638b43a 100644
--- a/components/Sidebar/Note.tsx
+++ b/components/Sidebar/Note.tsx
@@ -22,6 +22,7 @@ export interface NoteProps {
collapse: boolean
macros?: { [key: string]: string }
attachDir: string
+ useInheritance: boolean
}
export const Note = (props: NoteProps) => {
@@ -39,6 +40,7 @@ export const Note = (props: NoteProps) => {
collapse,
macros,
attachDir,
+ useInheritance,
} = props
const extraStyle = outline ? outlineNoteStyle : viewerNoteStyle
@@ -74,6 +76,7 @@ export const Note = (props: NoteProps) => {
linksByNodeId,
macros,
attachDir,
+ useInheritance,
}}
/>
<Backlinks
@@ -87,6 +90,7 @@ export const Note = (props: NoteProps) => {
openContextMenu,
outline,
attachDir,
+ useInheritance,
}}
macros={macros || {}}
/>