diff options
Diffstat (limited to 'components/Sidebar/Note.tsx')
-rw-r--r-- | components/Sidebar/Note.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/Sidebar/Note.tsx b/components/Sidebar/Note.tsx index 1f864f3..2b76994 100644 --- a/components/Sidebar/Note.tsx +++ b/components/Sidebar/Note.tsx @@ -21,6 +21,7 @@ export interface NoteProps { outline: boolean collapse: boolean macros?: { [key: string]: string } + attachDir: string } export const Note = (props: NoteProps) => { @@ -37,6 +38,7 @@ export const Note = (props: NoteProps) => { outline, collapse, macros, + attachDir, } = props const extraStyle = outline ? outlineNoteStyle : viewerNoteStyle @@ -71,6 +73,7 @@ export const Note = (props: NoteProps) => { nodeById, linksByNodeId, macros, + attachDir, }} /> <Backlinks @@ -83,7 +86,9 @@ export const Note = (props: NoteProps) => { setSidebarHighlightedNode, openContextMenu, outline, + attachDir, }} + macros={macros || {}} /> </Flex> )} |