Closed Shashan17J closed 1 week ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
medium-app | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 25, 2024 5:41am |
@aadeshkulkarni Please Review.
Thanks for your contribution!
Pull Request Title
Fix Local Storage Data Leak on Logout.
Description
This PR fixes the issue where LocalStorage data (such as draft and chat history) is not cleared when a user clicks the logout button. This issue is resolved by ensuring that all relevant data is removed from localStorage upon logout.
Resolves #198
Linked Issues
Type of Change
Changes
Used
localStorage.clear()
to clear all data from localStorage on logout.Screenshots/Recordings
https://github.com/aadeshkulkarni/figuringout/assets/130395029/77cfe2dd-ca8b-434d-a76e-bcb34898019c
Checklist before requesting a review