From 95d7cfd3e65961b1bade91f3a92793ce81298498 Mon Sep 17 00:00:00 2001 From: Nevo David Date: Mon, 11 Mar 2024 01:00:13 +0700 Subject: [PATCH] feat: fix default --- apps/frontend/src/components/billing/main.billing.component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/src/components/billing/main.billing.component.tsx b/apps/frontend/src/components/billing/main.billing.component.tsx index a303be93..1a445514 100644 --- a/apps/frontend/src/components/billing/main.billing.component.tsx +++ b/apps/frontend/src/components/billing/main.billing.component.tsx @@ -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);