ok, we finished the estimate for when users select entire project as opt

This commit is contained in:
Leon Serfaty G
2025-07-17 11:00:08 +00:00
parent c4f441af2a
commit e871e5703f
@@ -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);
}
});
};