Skip to content

Commit

Permalink
revert unnecessary changes on feautureflagcontext
Browse files Browse the repository at this point in the history
  • Loading branch information
lykalabrada committed Oct 3, 2023
1 parent 6e84732 commit bbb1134
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions mobile-app/app/contexts/FeatureFlagContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,13 @@ export function FeatureFlagProvider(
updateEnabledFeatures,
isFeatureAvailable,
isBetaFeature,
hasBetaFeatures: true,
// hasBetaFeatures: featureFlags.some(
// (flag) =>
// satisfies(appVersion, flag.version) &&
// flag.networks?.includes(network) &&
// flag.platforms?.includes(Platform.OS) &&
// flag.stage === "beta"
// ),
hasBetaFeatures: featureFlags.some(
(flag) =>
satisfies(appVersion, flag.version) &&
flag.networks?.includes(network) &&
flag.platforms?.includes(Platform.OS) &&
flag.stage === "beta",
),
};

if (isError && !isLoading && retries < MAX_RETRY) {
Expand Down

0 comments on commit bbb1134

Please sign in to comment.