mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-09 10:03:36 +00:00
fix: remove two same css imports
This commit is contained in:
parent
e8a7faf12d
commit
042df5ab68
@ -1,6 +1,4 @@
|
||||
import { Stepper, Step } from 'react-form-stepper'
|
||||
|
||||
import './FormStepper.css'
|
||||
import { useDispatch } from 'react-redux'
|
||||
|
||||
import { setActiveStep } from '../../../redux/ValidatorOnboarding/slice'
|
||||
@ -22,11 +20,13 @@ type FormStepperProps = {
|
||||
|
||||
const FormStepper = ({ activeStep }: FormStepperProps) => {
|
||||
const dispatch = useDispatch()
|
||||
|
||||
const changeStepOnClickHandler = (index: number) => {
|
||||
if (activeStep > index) {
|
||||
dispatch(setActiveStep(index))
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
<Stepper
|
||||
activeStep={activeStep}
|
||||
|
Loading…
x
Reference in New Issue
Block a user