feat: fix default

This commit is contained in:
Nevo David 2024-03-11 01:00:13 +07:00
parent 21a1d2a517
commit 95d7cfd3e6
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ export const MainBillingComponent: FC<{
if (period !== sub?.period) {
setPeriod(sub?.period || 'MONTHLY');
setMonthlyOrYearly(sub?.period === 'MONTHLY' ? 'off' : 'on');
setMonthlyOrYearly((sub?.period || 'MONTHLY') === 'MONTHLY' ? 'off' : 'on');
}
setSubscription(sub);