localhost geht hop-fly nicht

This commit is contained in:
2022-12-19 22:07:54 +01:00
parent bac04885b0
commit 3657ddf4ae
16 changed files with 301 additions and 28 deletions

View File

@ -19,7 +19,8 @@ const Register = () => {
})
}
const submitForm = async (e: React.FormEvent<HTMLFormElement>) => {
const submitForm = async (e: React.FormEvent<HTMLFormElement>) =>
{
e.preventDefault();
if(!Object.values(formData).every(val => val.trim() !== '')){
@ -38,7 +39,6 @@ const Register = () => {
setSuccessMsg("false");
setErrMsg(data.message);
}
}
return (