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

fix(EvmList): tx options modal rerender #556

Merged
merged 9 commits into from
Mar 5, 2024

Conversation

GabrielPrediger
Copy link
Contributor

TASK: https://app.clickup.com/t/86a24u68e

The creation of conditional variables that could undergo state changes was better organized and a component that was being created within a normal function was also improved, which was causing re-rendering with each state change. So it was changed to the use of a useCallback which is used to memoize a function, returning a memoized version of it which avoids creating a new function on each render.

@GabrielPrediger GabrielPrediger self-assigned this Feb 28, 2024
@lucasgabrielgsp lucasgabrielgsp merged commit d341ce6 into develop Mar 5, 2024
3 checks passed
@lucasgabrielgsp lucasgabrielgsp deleted the fix/transactions-options-modal branch March 5, 2024 01:03
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