[web] sponsorships/banner: change to 2nd position always
This commit is contained in:
parent
805ea97d93
commit
e0dd48f625
|
|
@ -66,7 +66,7 @@ function MarketingMessageImpl({
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
onSuccess() {
|
onSuccess() {
|
||||||
const rotatedBanners: Array<BannerType> = ['ad', 'swag'];
|
const rotatedBanners: Array<BannerType> = ['swag'];
|
||||||
|
|
||||||
if (!isProjectsPremium) {
|
if (!isProjectsPremium) {
|
||||||
rotatedBanners.push('projects');
|
rotatedBanners.push('projects');
|
||||||
|
|
@ -76,8 +76,8 @@ function MarketingMessageImpl({
|
||||||
|
|
||||||
setBanners(
|
setBanners(
|
||||||
isInterviewsPremium
|
isInterviewsPremium
|
||||||
? shuffledBanners
|
? [shuffledBanners[0], 'ad', ...shuffledBanners.slice(1)]
|
||||||
: ['social', ...shuffledBanners],
|
: ['social', 'ad', ...shuffledBanners],
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue