Added a check up email v

This commit is contained in:
Ebube
2023-04-27 02:28:59 +01:00
parent c87fc4f32d
commit 3ed764e8f4
2 changed files with 14 additions and 29 deletions
@@ -19,7 +19,6 @@ export default function VerifyLink() {
try {
const verifyRes = await userApi.verifyEmail(code)
console.log(verifyRes)
if (verifyRes.status === 200) {
let { data } = verifyRes
@@ -32,7 +31,6 @@ export default function VerifyLink() {
}
}
} catch (error) {
console.log(error)
setPageLoader(false)
setLinkError(true)
throw new Error(error)
@@ -43,8 +41,6 @@ export default function VerifyLink() {
verifyEmail(token)
})
console.log(token)
return (
<>
<AuthLayout