mirror of
https://github.com/Nezumi-2711/react-training.git
synced 2026-09-22 13:38:51 +00:00
Add comments and optimized code
This commit is contained in:
@@ -150,7 +150,7 @@ const UserForm = ({
|
||||
onClose();
|
||||
};
|
||||
|
||||
// Close form
|
||||
// Close and reset form
|
||||
const closeAndReset = () => {
|
||||
onClose();
|
||||
onResetForm();
|
||||
|
||||
Reference in New Issue
Block a user