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

refactor: useBalance hook to use balanceSelector #1943

Merged
merged 2 commits into from
Jun 13, 2024
Merged

Conversation

limpbrains
Copy link
Collaborator

Description

I've noticed that useBalance logic is different from balanceSelector. And the last one is not used. So I've moved logic from the hook to the selector so it can be tested.

Linked Issues/Tasks

Type of change

Refactoring

Tests

Unit test

@limpbrains limpbrains marked this pull request as draft June 4, 2024 13:28
@limpbrains limpbrains marked this pull request as ready for review June 11, 2024 11:45
@limpbrains limpbrains requested a review from pwltr June 11, 2024 11:54
@limpbrains limpbrains merged commit fed06f9 into master Jun 13, 2024
6 checks passed
@limpbrains limpbrains deleted the use-balance branch June 13, 2024 11:57
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.

2 participants