From 2c021e1056ffe099f35638b5f454c47151c7b382 Mon Sep 17 00:00:00 2001
From: Pierre Ferreira
Date: Thu, 30 Nov 2023 09:11:18 +0100
Subject: [PATCH] fix error any type :ambulance:
---
cryptide_project/src/Components/GraphContainer.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/cryptide_project/src/Components/GraphContainer.tsx b/cryptide_project/src/Components/GraphContainer.tsx
index 0d20acc..974c179 100644
--- a/cryptide_project/src/Components/GraphContainer.tsx
+++ b/cryptide_project/src/Components/GraphContainer.tsx
@@ -325,6 +325,7 @@ const MyGraphComponent: React.FC = ({onNodeClick, handleS
dailyEnigme.forEach((pairs, index) => {
pairs.forEach((pair) => {
const i = indices.findIndex((indice) => pair.first.getId() === indice.getId())
+ //@ts-ignore
const node = networkData.nodes.get().find((n) => index == n.id)
if (node != undefined){
networkData.nodes.update({id: node.id, label: node.label + positionToEmoji(i, pair.second)})