Skip to content

Commit e4443b4

Browse files
committed
fix: mobile label
1 parent 8da5cec commit e4443b4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/components/Hero/Hero.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,9 @@ function HeroPromotion({ badge, label, labelMobile, href }: HeroPromotionProps)
2525
<span className={styles.heroPromotionLabelDesktop}>
2626
{label}
2727
</span>
28-
{labelMobile && (
29-
<span className={styles.heroPromotionLabelMobile}>
30-
{labelMobile}
31-
</span>
32-
)}
28+
<span className={styles.heroPromotionLabelMobile}>
29+
{labelMobile || label}
30+
</span>
3331
</Text>
3432
<ArrowRightIcon
3533
className={styles.heroPromotionArrow}

0 commit comments

Comments
 (0)