Advisories step logic

This commit is contained in:
Hristo Nedelkov 2024-01-18 23:42:43 +02:00
parent 433b59a651
commit e0d177c2ea

View File

@ -64,12 +64,7 @@ const ContinueButton = () => {
])
const handleStep1 = () => {
if (subStepAdvisories < 5) {
dispatch(setSubStepAdvisories(subStepAdvisories + 1))
} else {
dispatch(setSubStepAdvisories(0))
dispatch(setActiveStep(activeStep + 1))
}
dispatch(setActiveStep(activeStep + 1))
}
const handleStep2 = () => {