Merge pull request #198 from nathanArseneau/error-when-switching-Tools-without-changing-value

fix: set default value for input fields in ToolsTab component
This commit is contained in:
Ola Hungerford
2025-03-24 09:29:05 -07:00
committed by GitHub

View File

@@ -233,6 +233,7 @@ const ToolsTab = ({
id={key} id={key}
name={key} name={key}
placeholder={prop.description} placeholder={prop.description}
value={(params[key] as string) ?? ""}
onChange={(e) => onChange={(e) =>
setParams({ setParams({
...params, ...params,