Fix error

This commit is contained in:
Damodar Lohani committed 2025-02-25 06:05:17 +00:00
1 parent 7a2064b7b4
commit ed7f9b3c9d
1 file changed
+2 -2
@@ -274,8 +274,8 @@
}
}
$: isUpgrade = $plansInfo.get(billingPlan).order > $currentPlan.order;
$: isDowngrade = $plansInfo.get(billingPlan).order < $currentPlan.order;
$: isUpgrade = $plansInfo.get(billingPlan)?.order > $currentPlan.order;
$: isDowngrade = $plansInfo.get(billingPlan)?.order < $currentPlan.order;
$: if (billingPlan !== BillingPlan.FREE) {
loadPaymentMethods();
}