-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: wallet, portfolio and tx management (#1520)
* fix: only subscribe to txs when portfolio is loaded * fix: cleanup effects and logging * fix: don't reset account specifiers to same new object by reference, causing erroneous portfolio clear * refactor: subscribe all account types simultaneously * fix: tx history unsubscribe logic, tx loaded delay, rename typod function * chore: comments around logging * fix: reorder transactions and portfolio providers, fixes logic/race issue * fix: add logic and logging to slices on clear and set actions * fix: logic entirely working for switching/disconnecting, needs tidying * fix: fix re-subscription problem and tidy * chore: rename PortfolioProvider to AppProvider * chore: add comment to weird data structure * test: add selectIsPortfolioLoaded test * test: fix log spew
- Loading branch information
1 parent
5bc1e7f
commit 34a1785
Showing
17 changed files
with
287 additions
and
111 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
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
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.