Skip to content

Commit f505ae3

Browse files
committed
Fix ToolsTab Textarea value for clearing when switch tool
1 parent d4df126 commit f505ae3

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
@@ -181,6 +181,7 @@ const ToolsTab = ({
181181
id={key}
182182
name={key}
183183
placeholder={prop.description}
184+
value={(params[key] as string) ?? ""}
184185
onChange={(e) =>
185186
setParams({
186187
...params,

0 commit comments

Comments
 (0)