Skip to content

Commit

Permalink
Error de nombre
Browse files Browse the repository at this point in the history
  • Loading branch information
CANCI0 committed Apr 1, 2024
1 parent 5b0a153 commit 0d3ea1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/components/Register/Register.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const AddUser = () => {
axios
.post(`${apiEndpoint}/adduser`, { username, password })
.then(() => setOpenSnackbar(true))
.catch((error) => setError(err.response.data.error));
.catch((err) => setError(err.response.data.error));
};

return (
Expand Down

0 comments on commit 0d3ea1d

Please sign in to comment.