1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

refactor: fix missing callback when the prod guard is hidden (#734)

This commit is contained in:
olav 2022-02-22 16:30:13 +01:00 committed by GitHub
parent 6468c5c57d
commit ff433faad0
2 changed files with 1 additions and 4 deletions

View File

@ -105,6 +105,7 @@ const FeatureStrategiesEnvironmentList = ({
}
updateStrategy(strategy);
callback();
};
const renderStrategies = () => {

View File

@ -82,10 +82,6 @@ const FeatureStrategyEditable = ({
};
updateStrategy(strategy, cleanup);
if (activeEnvironment.type !== PRODUCTION) {
cleanup();
}
};
useEffect(() => {