Skip to content

Commit 3893807

Browse files
Merge pull request #153 from funwarioisii/fix-tool-call-textarea
Fix ToolsTab Textarea value for clearing when switch tool
2 parents 0f304a3 + f505ae3 commit 3893807

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/src/components/ToolsTab.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ const ToolsTab = ({
202202
id={key}
203203
name={key}
204204
placeholder={prop.description}
205+
value={(params[key] as string) ?? ""}
205206
onChange={(e) =>
206207
setParams({
207208
...params,

0 commit comments

Comments
 (0)