HomeUniteUs
HomeUniteUs copied to clipboard
Invite user component
Overview
Create a component that allows coordinators to invite users through the app. There currently aren't any designs for this screen so this will focus primarily on functionality.
Action Items
- The component contains a text field that accepts an email.
- A button that submits the email
- Validation to check for a valid email and rendering an error message if invalid
- Error handling by displaying an error Alert if the request fails
- Shows a success alert if the request is successful
- Creating a Redux data fetching hook that sends a POST request to the
/api/auth/invite
route