mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-18 23:45:26 +02:00
improvements
This commit is contained in:
parent
79863a1205
commit
fddf025b08
@ -31,7 +31,7 @@ export default function VerifyEmailRoute(): ReactElement {
|
||||
const chars = serverSettings.email_verification_chars.split("")
|
||||
return token.split("").every(chars.includes)
|
||||
})
|
||||
const {error, loading} = useAsync(async () => {
|
||||
const {loading} = useAsync(async () => {
|
||||
await emailSchema.validate(email)
|
||||
await tokenSchema.validate(token)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user