Fix error

This commit is contained in:
Damodar Lohani
2025-02-25 06:05:17 +00:00
parent 7a2064b7b4
commit ed7f9b3c9d
@@ -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();
}