Open peronczyk opened 2 weeks ago
LGTM
After talking with @CedrikNikita I decided to totally remove the action that refreshes the page for every environment (web/popup/mobile). Can you please retest this @Liubov-crypto but this time for every env? Nikita has concerns that without refreshing the page user could see some data from the previous accounts in his wallet when using new mnemonic. Can you please focus also on this?
@peronczyk , @CedrikNikita is correct, I can see latest Tx from the previous account when I reset prev wallet and login with new account:
https://github.com/user-attachments/assets/c1400476-c4b4-470e-a8f6-bd832449687a
checked on web/ext/android app
Thanks @Liubov-crypto . I added a fix for this issue. Now resetting the wallet also wipes the transactions:
Can you retest please?
Still reproducible for me:
https://github.com/user-attachments/assets/1cbda158-ff4d-4b24-a507-dcebdcb148e3
If user resets the wallet the page should not be refreshed.
Initially refreshing the page was solving this issue found on mobile: https://github.com/superhero-com/superhero-wallet/pull/650#issue-749336687
This PR requires testing resetting the wallet only on web.