mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
fix: show warning hint when subscription must be selected before wheel spin
When user has 2+ eligible subscriptions and chooses subscription_days payment, a visible warning hint now appears explaining they need to select a subscription before spinning.
This commit is contained in:
@@ -690,6 +690,14 @@ export default function Wheel() {
|
||||
<p className="text-dark-400">{t('wheel.errors.dailyLimitReached')}</p>
|
||||
</div>
|
||||
)}
|
||||
{/* Subscription selection required hint */}
|
||||
{!isSpinning && needsSubscriptionPick && (
|
||||
<div className="rounded-linear border border-warning-500/30 bg-warning-500/5 p-4 text-center">
|
||||
<p className="text-warning-400">
|
||||
{t('wheel.errors.selectSubscription', 'Выберите подписку для списания дней')}
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Inline Result Card */}
|
||||
{spinResult && !isSpinning && (
|
||||
|
||||
Reference in New Issue
Block a user