diff --git a/components/Onboarding/Configure/Ledger/Step1.jsx b/components/Onboarding/Configure/Ledger/Step1.jsx index cdd031b3d..94262e2b0 100644 --- a/components/Onboarding/Configure/Ledger/Step1.jsx +++ b/components/Onboarding/Configure/Ledger/Step1.jsx @@ -91,7 +91,7 @@ const Step1 = ({ premainnetInvestor, msig, setStep }) => { const back = () => { if (premainnetInvestor || msig) router.replace('/') - else resetState() + resetState() } const calculateCurrentSteps = () => { diff --git a/components/Onboarding/Configure/Ledger/Step2.jsx b/components/Onboarding/Configure/Ledger/Step2.jsx index 3707d0443..59bccc84d 100644 --- a/components/Onboarding/Configure/Ledger/Step2.jsx +++ b/components/Onboarding/Configure/Ledger/Step2.jsx @@ -146,8 +146,8 @@ const Step2 = ({ premainnetInvestor, msig }) => { } const back = () => { - if (premainnetInvestor) router.replace('/') - else resetState() + if (premainnetInvestor || msig) router.replace('/') + resetState() } const calculateCurrentSteps = () => {