From b9570b9c321ea4b5af79c7f854c104e5bef971c3 Mon Sep 17 00:00:00 2001 From: cristhianzl Date: Thu, 8 Feb 2024 18:06:59 -0300 Subject: [PATCH] add emoji icon --- .../src/CustomNodes/GenericNode/index.tsx | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/src/frontend/src/CustomNodes/GenericNode/index.tsx b/src/frontend/src/CustomNodes/GenericNode/index.tsx index e8a95fb1b..b8d8f5a9d 100644 --- a/src/frontend/src/CustomNodes/GenericNode/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/index.tsx @@ -156,14 +156,19 @@ export default function GenericNode({ (!showNode && "justify-center") } > - + {data?.node?.icon ? ( + {data?.node?.icon} + ) : ( + + )} + {showNode && (
{nameEditable && inputName ? (