summaryrefslogtreecommitdiff
path: root/components/Sidebar/Note.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-11 01:13:10 +0200
committerThomas F. K. Jorna <[email protected]>2021-10-11 01:13:10 +0200
commit546a88ec37073840e98ed689f7139d04985e861c (patch)
tree73467c1720328fd11a77e864ebe6e5fd7c9b3251 /components/Sidebar/Note.tsx
parent31d7477b376501bd80fe635b91412bc7f6ae7ea7 (diff)
feat(preview): ui redo
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 ef2e2b2..e425559 100644
--- a/components/Sidebar/Note.tsx
+++ b/components/Sidebar/Note.tsx
@@ -16,6 +16,7 @@ export interface NoteProps {
justification: number
justificationList: string[]
linksByNodeId: LinksByNodeId
+ openContextMenu: any
}
export const Note = (props: NoteProps) => {
@@ -28,6 +29,7 @@ export const Note = (props: NoteProps) => {
nodeByCite,
setSidebarHighlightedNode,
linksByNodeId,
+ openContextMenu,
} = props
return (
<Box
@@ -50,6 +52,7 @@ export const Note = (props: NoteProps) => {
nodeById,
nodeByCite,
setSidebarHighlightedNode,
+ openContextMenu,
}}
/>
<Backlinks
@@ -60,6 +63,7 @@ export const Note = (props: NoteProps) => {
linksByNodeId,
nodeByCite,
setSidebarHighlightedNode,
+ openContextMenu,
}}
/>
</Flex>