From 7a9abc2af5623939f74f946bb8d27a2f71ec3af7 Mon Sep 17 00:00:00 2001 From: Igor Carvalho Date: Mon, 17 Jul 2023 19:06:46 -0300 Subject: [PATCH] refactor[GenericNode]: Remove unnused code --- .../src/CustomNodes/GenericNode/index.tsx | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/src/frontend/src/CustomNodes/GenericNode/index.tsx b/src/frontend/src/CustomNodes/GenericNode/index.tsx index 558df65de..34479429b 100644 --- a/src/frontend/src/CustomNodes/GenericNode/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/index.tsx @@ -176,25 +176,6 @@ export default function GenericNode({ .filter((t) => t.charAt(0) !== "_") .map((t: string, idx) => (
- {/* {idx === 0 ? ( -
- !key.startsWith("_") && - data.node.template[key].show && - !data.node.template[key].advanced - ).length === 0 - ? "hidden" - : "" - )} - > - Inputs -
- ) : ( - <> - )} */} {data.node.template[t].show && !data.node.template[t].advanced ? ( {" "}
- {/*
- Output -
*/}