Skip to content

Commit

Permalink
Disable unnecessary calypso config toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
jeyip committed Jan 18, 2025
1 parent 4083fa3 commit 7ddf3cb
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { isEnabled } from '@automattic/calypso-config';
import {
getPlanSlugForTermVariant,
PlanSlug,
Expand Down Expand Up @@ -80,11 +79,7 @@ const useEligibilityForTermSavingsPriceDisplay = ( {
return false;
}

return (
( isEnabled( 'plans/term-savings-price-display' ) ||
longerPlanTermDefaultExperiment.isEligibleForTermSavings ) &&
isInSignup
);
return longerPlanTermDefaultExperiment.isEligibleForTermSavings && isInSignup;
};

export default useEligibilityForTermSavingsPriceDisplay;

0 comments on commit 7ddf3cb

Please sign in to comment.