Skip to content

use history.push for hash routing#31

Merged
piyalbasu merged 1 commit intomasterfrom
fix-new-tab-nav
Jul 6, 2020
Merged

use history.push for hash routing#31
piyalbasu merged 1 commit intomasterfrom
fix-new-tab-nav

Conversation

@piyalbasu
Copy link
Contributor

@piyalbasu piyalbasu commented Jul 6, 2020

https://app.asana.com/0/1168666457741233/1181709640492803

Fix pressing "Back"on the recovery screen show "Your file was not found" error

header="Recover wallet from backup phrase"
icon={icon}
goBack={() => window.location.replace("/")}
goBack={() => history.push({ pathname: "/" })}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

history.push is the proper way to nav using react-router

@piyalbasu piyalbasu merged commit 1b3ac3e into master Jul 6, 2020
@piyalbasu piyalbasu deleted the fix-new-tab-nav branch July 6, 2020 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants