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: wallet reset issue #1713

Merged
merged 2 commits into from
Dec 14, 2024
Merged

fix: wallet reset issue #1713

merged 2 commits into from
Dec 14, 2024

Conversation

LuizAsFight
Copy link
Contributor

@LuizAsFight LuizAsFight commented Dec 14, 2024

  • Closes FE-1148

  • refactor accountMachine

    • should not have parallel states running between logout / fetchAccounts
    • should have NOTHING to do with local storage prop isLogged
  • move page reload to clear service, eliminating the possibility of anything running after it

  • clear method wait for localStorage to be clean before reload

  • now isLogged is set when opening the db

@LuizAsFight LuizAsFight merged commit ed5aadd into master Dec 14, 2024
18 checks passed
@LuizAsFight LuizAsFight deleted the lf/fix/wallet-reset-issue-2 branch December 14, 2024 12:29
LuizAsFight pushed a commit that referenced this pull request Dec 14, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to master, this PR
will be updated.


# Releases
## @fuels/[email protected]



## [email protected]

### Patch Changes

- [#1713](#1713)
[`ed5aaddc`](ed5aadd)
Thanks [@LuizAsFight](https://github.com/LuizAsFight)! - refactor:
accountMachine should not handle isLogged operations and should not have
parallel states running

- [#1713](#1713)
[`ed5aaddc`](ed5aadd)
Thanks [@LuizAsFight](https://github.com/LuizAsFight)! - set isLogged
when opening the db

- [#1713](#1713)
[`ed5aaddc`](ed5aadd)
Thanks [@LuizAsFight](https://github.com/LuizAsFight)! - feat: cleaning
now waits for localStorage

-   Updated dependencies \[]:
    -   @fuel-wallet/[email protected]
    -   @fuels/[email protected]

## @fuel-wallet/[email protected]



## @fuel-wallet/[email protected]



## @fuel-wallet/[email protected]

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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