rainbow
rainbow copied to clipboard
Fix missing backup password when saving
Fixes APP-1297
What changed (plus any additional context for devs)
Currently there is multiple places this hook is used, so my hunch is the useState variable password was being wiped between uses and causing issues.
Screen recordings / screenshots
What to test
APP-1050 Confirm that we do not allow creation of backups while in a damaged wallet state
APP-2002 CTA disappear without loading state when restoring backup
Blocked by https://github.com/rainbow-me/rainbow/pull/6276 due to multiple AbsolutePortal components being mounted. Merge greg's PR in first so I can rebase and refactor this to use that.