mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
mailer rest form and disable send
This commit is contained in:
@@ -17,7 +17,12 @@ const useContactForm = () => {
|
||||
};
|
||||
});
|
||||
};
|
||||
return { values, handleChange };
|
||||
|
||||
const resetForm = () => {
|
||||
setValues({ email: "", subject: "", message: "" });
|
||||
};
|
||||
|
||||
return { values, handleChange, resetForm };
|
||||
};
|
||||
|
||||
export default useContactForm;
|
||||
|
||||
Reference in New Issue
Block a user