Fix missing semicolon and remove unnecessary commas in newChatView and FlowStoreType

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-01-26 09:46:03 -03:00
commit 8d55bd2505
2 changed files with 3 additions and 3 deletions

View file

@ -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(() => {

View file

@ -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;