Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(refactor): Move balance syncing to static class, activeBalances in UI only. #1858

Merged
merged 77 commits into from
Jan 15, 2024

Conversation

rossbulat
Copy link
Collaborator

@rossbulat rossbulat commented Jan 13, 2024

Manages account ledgers and balances in a static class, and sends active account, active proxy and controller balances to the UI.

  • Creates new hook, useActiveBalances, where any component can listen to any number of account balances and only re-render that component.
  • TransferOptions is now limited only to active balances in the Balances context.

@rossbulat rossbulat changed the title feat(refactor): Move balance syncing to static class, activeBalances in UI only. [WIP] feat(refactor): Move balance syncing to static class, activeBalances in UI only. Jan 15, 2024
@rossbulat rossbulat marked this pull request as ready for review January 15, 2024 07:32
@rossbulat rossbulat merged commit a372487 into main Jan 15, 2024
8 checks passed
@rossbulat rossbulat deleted the rb-balances-to-stati branch January 15, 2024 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant