Skip to content

Commit

Permalink
Update frontend/src/pages/Register.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Hsbalazs <147068456+Hsbalazs@users.noreply.github.com>
  • Loading branch information
markkovari and Hsbalazs authored Jul 16, 2024
1 parent da23de5 commit 83cdaf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/Register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function Register() {

const handleSubmit = (e: React.FormEvent<HTMLFormElement>) => {
e.preventDefault()

setMessage (" ");
if (validator.isEmail(email)) {
setErrMessage("");
axios.post('http://localhost:8080/register', {
Expand Down

0 comments on commit 83cdaf4

Please sign in to comment.