Update Subscription.tsx

This commit is contained in:
Egor
2026-01-18 06:12:53 +03:00
committed by GitHub
parent 9513d3cc51
commit 6baa573e4b

View File

@@ -1598,7 +1598,7 @@ export default function Subscription() {
{promoPeriod.percent && ( {promoPeriod.percent && (
<div className="flex items-center justify-center gap-2 mb-4 p-2 bg-orange-500/10 border border-orange-500/30 rounded-lg"> <div className="flex items-center justify-center gap-2 mb-4 p-2 bg-orange-500/10 border border-orange-500/30 rounded-lg">
<span className="text-orange-400 text-sm font-medium"> <span className="text-orange-400 text-sm font-medium">
Скидка -{promoPeriod.percent}% применена {t('promo.discountApplied')} -{promoPeriod.percent}%
</span> </span>
</div> </div>
)} )}
@@ -1879,7 +1879,7 @@ export default function Subscription() {
<path strokeLinecap="round" strokeLinejoin="round" d="M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 00-3.09 3.09z" /> <path strokeLinecap="round" strokeLinejoin="round" d="M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 00-3.09 3.09z" />
</svg> </svg>
<span className="text-orange-400 text-sm font-medium"> <span className="text-orange-400 text-sm font-medium">
Скидка -{activeDiscount.discount_percent}% применена {t('promo.discountApplied')} -{activeDiscount.discount_percent}%
</span> </span>
</div> </div>
)} )}