-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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: Migrate autoLogin control variable to Zustand store #2843
Conversation
The autoLogin control variable was removed from the authContext file to simplify the code and improve maintainability. The functionality related to auto login was migrated to the zustand store. This change ensures consistency and better organization of the authentication logic.
Pull Request Validation ReportThis comment is automatically generated by Conventional PR Whitelist Report
Result Pull request does not satisfy any enabled whitelist criteria. Pull request will be validated. Validation Report
Result Pull request satisfies all enabled pull request rules. Last Modified at 19 Jul 24 20:04 UTC |
This pull request is automatically being deployed by Amplify Hosting (learn more). |
* migrate autoLogin control variable to zustand store * refactor: remove autoLogin control variable from authContext The autoLogin control variable was removed from the authContext file to simplify the code and improve maintainability. The functionality related to auto login was migrated to the zustand store. This change ensures consistency and better organization of the authentication logic. * [autofix.ci] apply automated fixes * refactor: remove autoLogin control variable from authContext * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Cristhian Zanforlin Lousa <[email protected]>
…ow-ai#2843) * migrate autoLogin control variable to zustand store * refactor: remove autoLogin control variable from authContext The autoLogin control variable was removed from the authContext file to simplify the code and improve maintainability. The functionality related to auto login was migrated to the zustand store. This change ensures consistency and better organization of the authentication logic. * [autofix.ci] apply automated fixes * refactor: remove autoLogin control variable from authContext * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Cristhian Zanforlin Lousa <[email protected]> (cherry picked from commit 48e3cc3)
This pull request migrates the autoLogin control variable from the authContext file to the Zustand store. The autoLogin functionality is now handled by the Zustand store, which improves code simplicity and maintainability. This change ensures consistency and better organization of the authentication logic.