feat: fix default
This commit is contained in:
parent
21a1d2a517
commit
95d7cfd3e6
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue