diff --git a/src/components/Config/ConfigChanger.tsx b/src/components/Config/ConfigChanger.tsx index 8d4be4db8..5b8836803 100644 --- a/src/components/Config/ConfigChanger.tsx +++ b/src/components/Config/ConfigChanger.tsx @@ -9,7 +9,7 @@ export default function ConfigChanger() { useEffect(() => { getConfigs().then((configs) => setConfigList(configs)); // setConfig(initialConfig); - }, [config.name]); + }, [config]); // If configlist is empty, return a loading indicator if (configList.length === 0) { return ( diff --git a/src/components/Config/SaveConfig.tsx b/src/components/Config/SaveConfig.tsx index a0b7997e7..4d4835684 100644 --- a/src/components/Config/SaveConfig.tsx +++ b/src/components/Config/SaveConfig.tsx @@ -44,7 +44,6 @@ export default function SaveConfigComponent(props: any) { > (''); - return ( -