We're a place where coders share, stay up-to-date and grow their careers.
Great post! It has a little issue. It does not work well when you hit twice add user for the same data.
you can modify the handleSubmit function in AddUserForm.jsx by adding this line setUser(initUser);
Thanks, I've added a fix for this!
Great post!
It has a little issue.
It does not work well when you hit twice add user for the same data.
you can modify the handleSubmit function in AddUserForm.jsx by adding this line
setUser(initUser);
Thanks, I've added a fix for this!