summaryrefslogtreecommitdiff
path: root/pages/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'pages/index.tsx')
-rw-r--r--pages/index.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/pages/index.tsx b/pages/index.tsx
index c74f0af..cf54e92 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -77,6 +77,7 @@ export interface EmacsVariables {
roamDir?: string
dailyDir?: string
katexMacros?: { [key: string]: string }
+ attachDir?: string
}
export type Tags = string[]
export type Scope = {
@@ -672,6 +673,7 @@ export function GraphPage() {
setFilter,
}}
macros={variablesRef.current.katexMacros}
+ attachDir={variablesRef.current.attachDir || ''}
nodeById={nodeByIdRef.current!}
linksByNodeId={linksByNodeIdRef.current!}
nodeByCite={nodeByCiteRef.current!}