after that is has to jump to the " Would you like us to develop any addi
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user