From 020916f0b9f98d5e69cfc47e41402075862dd600 Mon Sep 17 00:00:00 2001
From: "Thomas F. K. Jorna" <thomasfkjorna@gmail.com>
Date: Thu, 29 Jul 2021 06:26:13 +0200
Subject: minor typeerrors

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

(limited to 'pages/index.tsx')

diff --git a/pages/index.tsx b/pages/index.tsx
index 5a9c825..f47414c 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -491,7 +491,7 @@ export const Graph = function (props: GraphProps) {
       numbereWithinRange(neighbors, 0, visuals.nodeColorScheme.length - 1)
     ]
   }
-  const getLinkNodeColor = (link: OrgRoamLinkObject) =>
+  const getLinkNodeColor = (link: OrgRoamLink) =>
     linksByNodeId[link.target.id!]?.length < linksByNodeId[link.source.id!]?.length
       ? getNodeColorById(link.target.id!)
       : getNodeColorById(link.source.id!)
@@ -532,7 +532,7 @@ export const Graph = function (props: GraphProps) {
     return highlightColors[visuals.linkColorScheme][visuals.linkHighlight](opacity)
   }
 
-  const getNodeColor = (node: OrgRoamNodeObject) => {
+  const getNodeColor = (node: OrgRoamNode) => {
     // I'm so sorry
     const needsHighlighting = highlightedNodes[node.id!] || previouslyHighlightedNodes[node.id!]
     // if we are matching the node color and don't have a highlight color
-- 
cgit v1.2.3

