ok, we finished the estimate for when users select entire project as opt
This commit is contained in:
@@ -69,13 +69,21 @@ export function CostEstimatorForm() {
|
||||
|
||||
const handleNextStep = () => {
|
||||
startTransition(() => {
|
||||
if (currentStep === 2 && formData.serviceType === 'development') {
|
||||
setCurrentStep(5);
|
||||
} else {
|
||||
setCurrentStep((prev) => prev + 1);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
const handlePrevStep = () => {
|
||||
startTransition(() => {
|
||||
if (currentStep === 5 && formData.serviceType === 'development') {
|
||||
setCurrentStep(2);
|
||||
} else {
|
||||
setCurrentStep((prev) => prev - 1);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user