From 96e5ae65b1ee8dd813a123242e5ad4260af2dbc4 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Mon, 26 Feb 2024 21:23:16 +0100 Subject: [PATCH] Implemented output text --- src/frontend/src/components/IOOutputView/index.tsx | 5 +++-- src/frontend/src/constants/constants.ts | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/frontend/src/components/IOOutputView/index.tsx b/src/frontend/src/components/IOOutputView/index.tsx index a443b982f..a31ac2796 100644 --- a/src/frontend/src/components/IOOutputView/index.tsx +++ b/src/frontend/src/components/IOOutputView/index.tsx @@ -11,6 +11,7 @@ export default function IOOutputView({ const setNode = useFlowStore((state) => state.setNode); const flowPool = useFlowStore((state) => state.flowPool); const node = nodes.find((node) => node.id === outputId); + console.log(flowPool[node!.id][flowPool[node!.id].length - 1]) function handleOutputType() { if (!node) return "no node found"; switch (outputType) { @@ -18,9 +19,9 @@ export default function IOOutputView({ return (