Skip to content

Commit

Permalink
fix signup merge mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed Jan 23, 2025
1 parent 342dfde commit 6fb6b90
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions apps/signup/signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ function addUser(){
filtersError.style.display = "block";
filtersError.innerHTML = "Please enter atleast one filter.";
return;

if (email === '') {
emailErr.textContent = 'Please enter your email';
} else if (!(/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(email))) {
emailErr.textContent = 'Please enter a valid email address. For example: [email protected]';
}


Expand Down

0 comments on commit 6fb6b90

Please sign in to comment.