mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-10 17:53:36 +02:00
fix: prod guard
This commit is contained in:
parent
2766f446dd
commit
aaef6ba175
@ -78,7 +78,7 @@ export const useFeatureStrategyProdGuard = (
|
||||
|
||||
return featureOrType?.environments?.some(
|
||||
(environment) =>
|
||||
environment.name === environmentId ||
|
||||
environment.name === environmentId &&
|
||||
environment.type === PRODUCTION,
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user