File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ import {CheckoutContext} from 'src/checkout/context/checkout'
3232
3333// Events
3434import { event } from 'src/cloud/utils/reporting'
35- import { isFlagEnabled } from 'src/shared/utils/featureFlag'
3635
3736// Constants
3837import { PAYG_CREDIT_EXPERIMENT_ID } from 'src/shared/constants'
@@ -46,6 +45,7 @@ const CheckoutForm: FC = () => {
4645 handleSubmit,
4746 setIsDirty,
4847 isSubmitting,
48+ isPaygCreditActive,
4949 } = useContext ( CheckoutContext )
5050
5151 const onSubmit = ( ) => {
@@ -92,7 +92,7 @@ const CheckoutForm: FC = () => {
9292 .
9393 </ p >
9494
95- { isFlagEnabled ( 'paygCheckoutCredit' ) && (
95+ { isPaygCreditActive && (
9696 < GoogleOptimizeExperiment
9797 experimentID = { PAYG_CREDIT_EXPERIMENT_ID }
9898 variants = { [
You can’t perform that action at this time.
0 commit comments