From 8d55bd2505ab98558558d3fc43c8e951b09496eb Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Fri, 26 Jan 2024 09:46:03 -0300 Subject: [PATCH] Fix missing semicolon and remove unnecessary commas in newChatView and FlowStoreType --- src/frontend/src/components/newChatView/index.tsx | 2 +- src/frontend/src/types/zustand/flow/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/src/components/newChatView/index.tsx b/src/frontend/src/components/newChatView/index.tsx index a6158d96c..a40c063ee 100644 --- a/src/frontend/src/components/newChatView/index.tsx +++ b/src/frontend/src/components/newChatView/index.tsx @@ -34,7 +34,7 @@ export default function newChatView(): JSX.Element { const inputTypes = inputs.map((obj) => obj.type); const inputIds = inputs.map((obj) => obj.id); - const outputIds = outputs.map((obj) => obj.id) + const outputIds = outputs.map((obj) => obj.id); //build chat history useEffect(() => { diff --git a/src/frontend/src/types/zustand/flow/index.ts b/src/frontend/src/types/zustand/flow/index.ts index 514954fbf..937197efd 100644 --- a/src/frontend/src/types/zustand/flow/index.ts +++ b/src/frontend/src/types/zustand/flow/index.ts @@ -35,8 +35,8 @@ export type FlowPoolType = { export type FlowStoreType = { flowPool: FlowPoolType; - inputs: Array<{ type: string; id: string; }>; - outputs: Array<{ type: string; id: string; }>; + inputs: Array<{ type: string; id: string }>; + outputs: Array<{ type: string; id: string }>; hasIO: boolean; setFlowPool: (flowPool: FlowPoolType) => void; addDataToFlowPool: (data: any, nodeId: string) => void;