-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created the AddUser button on the Dashboard page #23
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! Please address the comments I've made. Keep it up!
@Lucasha11 This one was a tricky one! You cannot have async functions onSubmit. To handle API calls onSubmit, you need to write your submit handler in such a way that the promise is handled internally. Please keep working on the comments I provided; let me know if you have any questions. Please, when requesting the review, resolve all the comments you have addressed. |
Miguel resolved my async issue. This PR should contain the completed "Add User Button." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job!
Created the "Add User" button on the dashboard page. When request is successful, alert is displayed on screen. "Add User" has two inputs "Email" and "Roles."