fix: redirect keepkey users if they accidentally exit the wipe modal
…cess
Description
I added a check in WalletViewsSwitch.tsx that redirects Keeykey users to the main page if they exit the modal. Instead of the app being in a broken state where it appears that they are connected with a keepkey, they can re-enter the connect wallet process.
This does not redirect users after a successful wipe setup.
Notice
- [x] Have you followed the guidelines in our Contributing guide?
- [x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
Pull Request Type
- [x] :bug: Bug fix (Non-breaking Change: Fixes an issue)
- [ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
- [ ] :nail_care: New Feature (Breaking/Non-breaking Change)
Issue (if applicable)
fixes #1610
Risk
None
Testing
Connect a wiped Keepkey, and enter the connect wallet flow. Then try to close the modal during the set up process.
Screenshots (if applicable)
Hi @jmurphy5613.
Thanks for your contribution, however for bounties we only accept contributions once you've been approved for the task: https://app.dework.xyz/shapeshift-dao/keepkey-bounties?taskId=1546ffaa-5a94-4409-8546-d6e892e8cd90
Hi @jmurphy5613.
Thanks for your contribution, however for bounties we only accept contributions once you've been approved for the task: https://app.dework.xyz/shapeshift-dao/keepkey-bounties?taskId=1546ffaa-5a94-4409-8546-d6e892e8cd90
I am approved for this task. I think you may be looking at the bounty.
*updated the dwork. This is a @Cosmic on discord https://app.dework.xyz/shapeshift-dao/keepkey-bounties/overview?taskId=85103378-5099-4435-a609-0cd3540ad601
*updated the dwork. This is a @cosmic on discord https://app.dework.xyz/shapeshift-dao/keepkey-bounties/overview?taskId=85103378-5099-4435-a609-0cd3540ad601
Got it, ty @BitHighlander - re-opening.
@jmurphy5613 do you own a keepkey?
@jmurphy5613 do you own a keepkey?
yep
converting to draft. please fix lint errors and run yarn local-ci on your machine and fix all issues before pushing.