Closed ntatoud closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
start-ui | β Ready (Inspect) | Visit Preview | π¬ Add feedback | May 30, 2024 4:10pm |
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Describe your changes
closes #481 Make the logout mutation async so that it can be awaited properly
Question : Is there still a point to making the optimistic update ?
The code before : (await has no effect)
This lead to : Redirection happening before the logout and triggering checkAuthenticated before the end of logout. Reminder :
checkAuthenticated
sets a new auth cookie.What happend before on the logout page :
After the fix:
Checklist