free and trial plans fixes and styling of sigini and signup forms
This commit is contained in:
@@ -60,8 +60,8 @@ export default function SignUpFormEnhanced({ planDetails: planDetailsProp, planL
|
||||
const { register, loading } = useAuthStore();
|
||||
|
||||
const planSlug = new URLSearchParams(window.location.search).get('plan') || '';
|
||||
const paidPlans = ['starter', 'growth', 'scale'];
|
||||
const isPaidPlan = planSlug && paidPlans.includes(planSlug);
|
||||
// Determine if plan is paid based on price, not hardcoded slug
|
||||
const isPaidPlan = planDetails && parseFloat(String(planDetails.price || 0)) > 0;
|
||||
const totalSteps = isPaidPlan ? 3 : 1;
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user