mavr1k / chat-app

https://chat-app-mavrique.vercel.app
0 stars 0 forks source link

Implement useLocalStorage hook to store user's name #9

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

PR Feedback: 👍

Description

This PR implements a useLocalStorage hook in the React application to store the user's name. Currently, the user's name is being prompted every time the application is refreshed, which is not a good user experience. By using the useLocalStorage hook, we can persist the user's name across sessions.

Summary of Changes

Please review and merge this PR to improve the user experience by storing the user's name in the local storage.

Fixes #8.


🎉 Latest improvements to Sweep:


💡 To get Sweep to edit this pull request, you can:

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
chat-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 25, 2023 10:40pm
mavr1k commented 1 year ago

resolve conflicts