From 8976e30f417264d8edc4f0777cf804ef281801b5 Mon Sep 17 00:00:00 2001 From: ogabrielluiz Date: Wed, 5 Jun 2024 12:52:31 -0300 Subject: [PATCH] refactor: Remove unused helper function convertToTableRows in SwitchOutputView component --- .../outputModal/components/switchOutputView/index.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/frontend/src/customNodes/genericNode/components/outputModal/components/switchOutputView/index.tsx b/src/frontend/src/customNodes/genericNode/components/outputModal/components/switchOutputView/index.tsx index 528fdb663..90f7df225 100644 --- a/src/frontend/src/customNodes/genericNode/components/outputModal/components/switchOutputView/index.tsx +++ b/src/frontend/src/customNodes/genericNode/components/outputModal/components/switchOutputView/index.tsx @@ -3,7 +3,6 @@ import { Case } from "../../../../../../shared/components/caseComponent"; import TextOutputView from "../../../../../../shared/components/textOutputView"; import useFlowStore from "../../../../../../stores/flowStore"; import ErrorOutput from "./components"; -import { convertToTableRows } from "./helpers/convert-to-table-rows"; export default function SwitchOutputView(nodeId): JSX.Element { const nodeIdentity = nodeId.nodeId; @@ -19,7 +18,7 @@ export default function SwitchOutputView(nodeId): JSX.Element { const results = flowPoolNode?.data?.logs[0] ?? ""; const resultType = results?.type; const resultMessage = results?.message; - + console.log("resultType", results); return ( <> @@ -43,7 +42,7 @@ export default function SwitchOutputView(nodeId): JSX.Element {