todo-react-redux
todo-react-redux copied to clipboard
Add Confirmation Dialog for Logout Feature
trafficstars
I noticed that the logout functionality lacks a confirmation step.
To enhance user experience and prevent unintended logouts, I propose adding a confirmation dialog before proceeding with the logout action.
Tasks:
- Add a confirmation dialog component to the logout functionality.
- Display the confirmation dialog when the user initiates the logout action.
- Provide options for the user to either confirm or cancel the logout.
- Implement the necessary logic to handle the user's selection, logging out if confirmed or canceling the action if canceled.