diff --git a/src/app/components/ConfigEditor.tsx b/src/app/components/ConfigEditor.tsx index 3a4f1bf..cb9d41f 100644 --- a/src/app/components/ConfigEditor.tsx +++ b/src/app/components/ConfigEditor.tsx @@ -19,12 +19,12 @@ function ConfigEditor({config, setConfig}) { })); }; - const handleNestedChange = (key, nestedKey, value) => { - setConfig((prev) => ({ - ...prev, - [key]: {...prev[key], [nestedKey]: value}, - })); - }; + // const handleNestedChange = (key, nestedKey, value) => { + // setConfig((prev) => ({ + // ...prev, + // [key]: {...prev[key], [nestedKey]: value}, + // })); + // }; const handleObjectInListChange = (listKey, index, fieldKey, value) => { setConfig((prev) => ({