-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(app): reset staking data at disconnect (#2701)
* Reset the staking data when switching the wallet * Fixed the error when wallet disconnecting * Fix the escrow data reset * Cleaned the code and dropped the unnecessary file * Remove the staking v2 reverse migration banner * Reset the estimated rewards and claimable rewards when swtiching the wallet * Updated the claimable rewards after switching the wallet, no need to access to staking page * Fixed the naming
- Loading branch information
Showing
11 changed files
with
305 additions
and
439 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
103 changes: 0 additions & 103 deletions
103
packages/app/src/sections/dashboard/Stake/InputCards/RedeemInputCard.tsx
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
packages/app/src/sections/dashboard/Stake/RedemptionTab.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.