mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-21 00:40:09 +00:00
Advisories step logic
This commit is contained in:
parent
433b59a651
commit
e0d177c2ea
@ -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 = () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user