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

Feature: The system will prioritize calling the autoLogin endpoint before processing any other requests #1656

Merged
merged 3 commits into from
Apr 9, 2024

Conversation

Cristhianzl
Copy link
Collaborator

🐛 (App.tsx): handle errors when fetching data and log them to the console for debugging purposes
📝 (authContext.tsx): remove unused autoLogin function and refactor getUser function to improve code readability and maintainability
📝 (authContext.tsx): add getUser function to retrieve user data and improve user authentication flow
📝 (auth.ts): add getUser function to AuthContextType to improve type safety and provide a clear API for accessing user data

…a when the user is authenticated

🐛 (App.tsx): handle errors when fetching data and log them to the console for debugging purposes
…ience and reduce login friction

📝 (authContext.tsx): remove unused autoLogin function and refactor getUser function to improve code readability and maintainability
📝 (authContext.tsx): add getUser function to retrieve user data and improve user authentication flow
📝 (auth.ts): add getUser function to AuthContextType to improve type safety and provide a clear API for accessing user data
@Cristhianzl Cristhianzl self-assigned this Apr 9, 2024
@ogabrielluiz ogabrielluiz merged commit 77eaf09 into dev Apr 9, 2024
13 of 25 checks passed
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