summaryrefslogtreecommitdiff
path: root/pages/index.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-25 14:04:59 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-25 14:04:59 +0200
commit9b9d28e267f88d1fe491fb781fa6893d21cde540 (patch)
treeaac22c1a4074a614fbfbfc6828e1784ba1d6dc80 /pages/index.tsx
parent24799ec72c39183c7aa156994077e0d5370388e0 (diff)
make toggle work with filenods
Diffstat (limited to 'pages/index.tsx')
-rw-r--r--pages/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/index.tsx b/pages/index.tsx
index 3e8e3dd..8c97a79 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -82,7 +82,7 @@ export function GraphPage() {
return headingNodes.map((headingNode) => ({
source: headingNode.id,
target: fileNode.id,
- type: 'id',
+ type: 'parent',
}))
})