Skip to content

Commit

Permalink
fix: unexpected event remove
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyoon committed Dec 27, 2023
1 parent 0ebe70d commit 488cd64
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/routes/(mono-column)/signup/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
};
const emailAuth = async (email) => {
console.log(email);
console.log(typeof email);
const requestData = {
"email": email,
};
Expand All @@ -39,7 +39,6 @@
};
if (validateEmail(email)) {
userEmail = email;
slide("next");
console.log("이메일 형식이 올바릅니다.");
await fetch("/api/emails" , fetchData).then(async (response) => {
console.log("email data sending....");
Expand All @@ -58,6 +57,7 @@
};
const authCodeVerification = async (code) => {
console.log(typeof code);
const requestData = {
"key": code,
};
Expand All @@ -70,7 +70,6 @@
},
}
if (validateSixDigitNumber(code)) {
slide("next");
console.log("코드 형식이 올바릅니다.");
await fetch(`/api/emails`, fetchData).then(async (response) => {
console.log("code data sending...");
Expand Down

0 comments on commit 488cd64

Please sign in to comment.