diff --git a/src/pages/ValidatorOnboarding/Advisories/Advisories.tsx b/src/pages/ValidatorOnboarding/Advisories/Advisories.tsx index 4e3902d8..5f172a7f 100644 --- a/src/pages/ValidatorOnboarding/Advisories/Advisories.tsx +++ b/src/pages/ValidatorOnboarding/Advisories/Advisories.tsx @@ -12,7 +12,7 @@ type AdvisoryTopicsType = { } const Advisories = () => { - const dispatch = useDispatch(); + const dispatch = useDispatch() const { subStepAdvisories } = useSelector((state: RootState) => state.advisories) const [selectedTitle, setSelectedTitle] = useState(Object.keys(advisoryTopics)[0]) @@ -30,7 +30,7 @@ const Advisories = () => { const index = topics.indexOf(currentTitle) return index <= subStepAdvisories ? true : false } - + const getIndexTitle = (title: string): number => { const topics = Object.keys(advisoryTopics) const index = topics.indexOf(title)