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 Auth State in AppBar #118

Merged
merged 4 commits into from
Apr 9, 2024
Merged

Fix Auth State in AppBar #118

merged 4 commits into from
Apr 9, 2024

Conversation

ballyalley-o
Copy link
Owner

This pull request fixes the issue with the authentication state in the AppBar. The user slice was not being recognized, causing the login and register buttons to still appear even when authenticated. The issue is resolved by changing the way the user state is initialized in the AppBar component. Additionally, the LogIn component is refactored and a console log is added in the onSubmit function for debugging purposes. The logo image in the README.md file is also updated.

Fixes #116

@ballyalley-o ballyalley-o added bug Something isn't working solved labels Apr 9, 2024
@ballyalley-o ballyalley-o self-assigned this Apr 9, 2024
@ballyalley-o ballyalley-o merged commit c0875a1 into main Apr 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working solved
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[BUG] Auth State in AppBar
1 participant