summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorKirill Rogovoy <[email protected]>2021-07-25 14:44:29 +0300
committerKirill Rogovoy <[email protected]>2021-07-25 14:44:29 +0300
commit711ac9454d343f4cf349132091c17344b685e6af (patch)
tree7d6d9150b4c449f96ae1054fed784c1f9a5c8b78 /pages
parent71460b6d5246b8d6c653aa63e792f4e9df4f27df (diff)
Add type to file-based links
Diffstat (limited to 'pages')
-rw-r--r--pages/index.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/pages/index.tsx b/pages/index.tsx
index 9119e4a..3baca8b 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -85,6 +85,7 @@ export function GraphPage() {
return headingNodes.map((headingNode) => ({
source: headingNode.id,
target: fileNode.id,
+ type: 'id',
}))
})