Skip to content

Commit

Permalink
fix: Changing the signup.jsx to pass the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiorodriguezgarcia committed Mar 4, 2024
1 parent 2a7ad39 commit 8e72663
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions webapp/src/pages/Signup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ export default function Signup() {
const ChakraFaLock = chakra(FaLock);

const sendLogin = async () => {
if (password !== confirmPassword) {
setHasError(true);
return;
}

try {
const response = await axios.post(process.env.API_URL, { email, username, password });
if (response.status === HttpStatusCode.Accepted) {
Expand Down

0 comments on commit 8e72663

Please sign in to comment.