File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
client/signup/steps/domains/rewritten Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -197,21 +197,29 @@ const DomainSearchUI = (
197
197
const slots = useMemo ( ( ) => {
198
198
return {
199
199
BeforeResults : ( ) => {
200
- if ( isDomainForGravatarFlow ( flowName ) || isFreeFlow ( flowName ) ) {
200
+ if (
201
+ isDomainForGravatarFlow ( flowName ) ||
202
+ isFreeFlow ( flowName ) ||
203
+ isOnboardingWithEmailFlow
204
+ ) {
201
205
return null ;
202
206
}
203
207
204
208
return < FreeDomainForAYearPromo /> ;
205
209
} ,
206
210
BeforeFullCartItems : ( ) => {
207
- if ( isDomainForGravatarFlow ( flowName ) || isFreeFlow ( flowName ) ) {
211
+ if (
212
+ isDomainForGravatarFlow ( flowName ) ||
213
+ isFreeFlow ( flowName ) ||
214
+ isOnboardingWithEmailFlow
215
+ ) {
208
216
return null ;
209
217
}
210
218
211
219
return < FreeDomainForAYearPromo textOnly /> ;
212
220
} ,
213
221
} ;
214
- } , [ flowName ] ) ;
222
+ } , [ flowName , isOnboardingWithEmailFlow ] ) ;
215
223
216
224
const flowAllowsMultipleDomainsInCart = isDomainOnlyFlow ;
217
225
@@ -297,6 +305,7 @@ const DomainSearchUI = (
297
305
config = { config }
298
306
flowAllowsMultipleDomainsInCart = { flowAllowsMultipleDomainsInCart }
299
307
slots = { slots }
308
+ isFirstDomainFreeForFirstYear = { ! isOnboardingWithEmailFlow }
300
309
/>
301
310
}
302
311
/>
You can’t perform that action at this time.
0 commit comments