这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@gaida
Copy link
Contributor

@gaida gaida commented Jul 29, 2023

Please verify the following:

  • yarn test jest tests pass with new tests, if relevant
  • README.md has been updated with your changes, if relevant

Describe your PR

The current LoginScreen has two separate useEffect calls: one for form pre-fill and one for cleanup. I found the separation confusing.

In this PR, I've merged these calls to make their relationship clearer. Maybe this change could help future users navigate the boilerplate a little bit easier?

Cheers,

  • gaida

@frankcalise
Copy link
Contributor

Thanks for the contribution, good catch!

@frankcalise frankcalise merged commit d76815b into infinitered:master Aug 3, 2023
infinitered-circleci pushed a commit that referenced this pull request Aug 3, 2023
## [8.8.5](v8.8.4...v8.8.5) (2023-08-03)

### Bug Fixes

* **boilerplate:** relocated "useEffect cleanup" in LoginScreen ([#2486](#2486) by [@gaida](https://github.com/gaida)) ([d76815b](d76815b))
@infinitered-circleci
Copy link
Collaborator

🎉 This PR is included in version 8.8.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants