mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 10:27:49 +00:00
refactor: simplify dashboard stats grid to 2 cards
Remove Subscription and Earnings cards from StatsGrid. Merge earnings display into Referrals card as subtitle. Remove subscription-status onboarding step (target removed).
This commit is contained in:
@@ -191,12 +191,6 @@ export default function Dashboard() {
|
||||
description: t('onboarding.steps.balance.description'),
|
||||
placement: 'bottom',
|
||||
},
|
||||
{
|
||||
target: 'subscription-status',
|
||||
title: t('onboarding.steps.subscription.title'),
|
||||
description: t('onboarding.steps.subscription.description'),
|
||||
placement: 'bottom',
|
||||
},
|
||||
];
|
||||
|
||||
if (subscription?.subscription_url) {
|
||||
@@ -270,7 +264,6 @@ export default function Dashboard() {
|
||||
<StatsGrid
|
||||
balanceRubles={balanceData?.balance_rubles || 0}
|
||||
subscription={subscription}
|
||||
subLoading={subLoading}
|
||||
referralCount={referralInfo?.total_referrals || 0}
|
||||
earningsRubles={referralInfo?.total_earnings_rubles || 0}
|
||||
refLoading={refLoading}
|
||||
|
||||
Reference in New Issue
Block a user