From 0062fc08917e9ee70148105fe5134e9f4dcf9aba Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <hello@tefkah.com>
Date: Sat, 4 Dec 2021 13:44:47 +0100
Subject: fix: add org-attach-id-dir support (#153)

---
 pages/index.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'pages/index.tsx')

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!}
-- 
cgit v1.2.3

