Skip to content

Commit

Permalink
Fix #497 (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
Schwartz10 authored Sep 11, 2020
1 parent 32f294d commit 58cd8ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/Onboarding/Configure/Ledger/Step1.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const Step1 = ({ premainnetInvestor, msig, setStep }) => {

const back = () => {
if (premainnetInvestor || msig) router.replace('/')
else resetState()
resetState()
}

const calculateCurrentSteps = () => {
Expand Down
4 changes: 2 additions & 2 deletions components/Onboarding/Configure/Ledger/Step2.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ const Step2 = ({ premainnetInvestor, msig }) => {
}

const back = () => {
if (premainnetInvestor) router.replace('/')
else resetState()
if (premainnetInvestor || msig) router.replace('/')
resetState()
}

const calculateCurrentSteps = () => {
Expand Down

0 comments on commit 58cd8ff

Please sign in to comment.