mirror of
https://github.com/moghtech/komodo.git
synced 2026-04-28 19:59:46 -05:00
upgrade env component
This commit is contained in:
@@ -14,7 +14,7 @@ export const EnvVars = ({
|
||||
const [env, setEnv] = useState(parseEnvVarseToDotEnv(vars));
|
||||
useEffect(() => {
|
||||
!!env && set({ environment: parseDotEnvToEnvVars(env) });
|
||||
}, [env]);
|
||||
}, [env, set]);
|
||||
|
||||
return (
|
||||
<ConfigItem
|
||||
|
||||
Reference in New Issue
Block a user