From bcb31a467f4977badc4e442b3c09cdc32546e0ea Mon Sep 17 00:00:00 2001 From: Leon Serfaty G Date: Thu, 17 Jul 2025 11:01:19 +0000 Subject: [PATCH] after that is has to jump to the " Would you like us to develop any addi --- src/components/cost-estimator/cost-estimator-form.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/cost-estimator/cost-estimator-form.tsx b/src/components/cost-estimator/cost-estimator-form.tsx index 69a21cd..90e078b 100644 --- a/src/components/cost-estimator/cost-estimator-form.tsx +++ b/src/components/cost-estimator/cost-estimator-form.tsx @@ -71,6 +71,8 @@ export function CostEstimatorForm() { startTransition(() => { if (currentStep === 2 && formData.serviceType === 'development') { setCurrentStep(5); + } else if (currentStep === 5 && formData.serviceType === 'development') { + setCurrentStep(9); } else { setCurrentStep((prev) => prev + 1); } @@ -81,6 +83,8 @@ export function CostEstimatorForm() { startTransition(() => { if (currentStep === 5 && formData.serviceType === 'development') { setCurrentStep(2); + } else if (currentStep === 9 && formData.serviceType === 'development') { + setCurrentStep(5); } else { setCurrentStep((prev) => prev - 1); }