From 0ad1e5b6f874d4da86573aed04926939fa01df2b Mon Sep 17 00:00:00 2001 From: archer <545436317@qq.com> Date: Mon, 4 Nov 2024 10:27:06 +0800 Subject: [PATCH] fix: ts --- .../chat/ChatContainer/ChatBox/components/VariableInput.tsx | 2 +- .../detail/components/SimpleApp/components/ToolSelectModal.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/app/src/components/core/chat/ChatContainer/ChatBox/components/VariableInput.tsx b/projects/app/src/components/core/chat/ChatContainer/ChatBox/components/VariableInput.tsx index 6df24b654c6..50c077d8807 100644 --- a/projects/app/src/components/core/chat/ChatContainer/ChatBox/components/VariableInput.tsx +++ b/projects/app/src/components/core/chat/ChatContainer/ChatBox/components/VariableInput.tsx @@ -30,7 +30,7 @@ export const VariableInputItem = ({ variablesForm }: { item: VariableItemType; - variablesForm: UseFormReturn; + variablesForm: UseFormReturn; }) => { const { register, control, setValue } = variablesForm; diff --git a/projects/app/src/pages/app/detail/components/SimpleApp/components/ToolSelectModal.tsx b/projects/app/src/pages/app/detail/components/SimpleApp/components/ToolSelectModal.tsx index ed258b57100..eb8467b2493 100644 --- a/projects/app/src/pages/app/detail/components/SimpleApp/components/ToolSelectModal.tsx +++ b/projects/app/src/pages/app/detail/components/SimpleApp/components/ToolSelectModal.tsx @@ -387,6 +387,7 @@ const RenderList = React.memo(function RenderList({ isInvalid={errors && Object.keys(errors).includes(input.key)} onChange={onChange} input={input} + setUploading={() => {}} /> ); }}