From 9236ee21c8ca695fc9bfc19be9cc79843417d8d0 Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Thu, 22 Jun 2023 16:40:59 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20refactor(NodeModal):=20add=20typ?= =?UTF-8?q?e=20any=20to=20Icon=20variable=20to=20avoid=20type=20conflict?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/modals/NodeModal/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/src/modals/NodeModal/index.tsx b/src/frontend/src/modals/NodeModal/index.tsx index e28457859..27255fd84 100644 --- a/src/frontend/src/modals/NodeModal/index.tsx +++ b/src/frontend/src/modals/NodeModal/index.tsx @@ -27,6 +27,7 @@ export default function NodeModal({ data }: { data: NodeDataType }) { }, 300); } } + // any to avoid type conflict const Icon: any = nodeIcons[types[data.type]]; return (