File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ const CheckoutForm: FC = () => {
5151 handleSubmit,
5252 setIsDirty,
5353 isSubmitting,
54- isPaygCreditActive,
5554 } = useContext ( CheckoutContext )
5655
5756 const onSubmit = ( ) => {
@@ -79,7 +78,7 @@ const CheckoutForm: FC = () => {
7978 >
8079 Upgrade to Usage-Based Account
8180 </ h1 >
82- { isFlagEnabled ( 'credit250Experiment' ) && ! isPaygCreditActive && (
81+ { isFlagEnabled ( 'credit250Experiment' ) && (
8382 < GoogleOptimizeExperiment
8483 experimentID = { CREDIT_250_EXPERIMENT_ID }
8584 variants = { [
@@ -118,21 +117,6 @@ const CheckoutForm: FC = () => {
118117 </ SafeBlankLink >
119118 .
120119 </ p >
121-
122- { isPaygCreditActive && (
123- < GoogleOptimizeExperiment
124- experimentID = { CREDIT_250_EXPERIMENT_ID }
125- variants = { [
126- < div
127- className = "checkout-form--banner"
128- key = "checkout-form-banner"
129- >
130- < strong className = "checkout-banner--credit" > $250</ strong >
131- < p > credit applied</ p >
132- </ div > ,
133- ] }
134- />
135- ) }
136120 </ Panel . Body >
137121 </ Panel >
138122 < Panel >
You can’t perform that action at this time.
0 commit comments