Update SignUp component to handle user sign-up and display Snackbar messages
Modified the SignUp component to handle user sign-up functionality. Implemented asynchronous form submission handling in the handleSubmit function. Added error handling using try-catch blocks to catch errors during sign-up. Updated the Snackbar messages to provide feedback to the user based on the sign-up status. Snackbar messages now display success message for successful sign-up and error message for failed sign-up attempts. If the error response indicates that the email already exists, the Snackbar displays a message informing the user that the email is already in use. Implemented efficient error handling to provide clear feedback to the user.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| blog-app-using-mern-stack | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jan 30, 2024 4:46pm |
can you resolve conflict? @younes-Raymond