[web] promotions/students: fix bug where generated promo code isn't showing

This commit is contained in:
Yangshun 2025-08-04 13:42:36 +08:00
parent 98d270df13
commit f7c8f5c452
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ export function PromotionsStudentDiscountCard({ variant = 'full' }: Props) {
const promoCodeToDisplay = promoCode ?? existingPromoCode ?? null;
if (promoCodeToDisplay && 1 > 2) {
if (promoCodeToDisplay) {
return (
<div>
<Button