Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

176 email verification landing page #254

Merged
merged 5 commits into from
Dec 8, 2023

Conversation

vgeffer
Copy link
Contributor

@vgeffer vgeffer commented Dec 8, 2023

closes #176

@vgeffer vgeffer linked an issue Dec 8, 2023 that may be closed by this pull request
Copy link
Collaborator

@rtrembecky rtrembecky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

asi este upravme tu hlasku nejak 🤔

mutationFn: (verificationKey: string) => axios.post('/api/user/registration/verify-email', {key: verificationKey}),
})

useEffect(() => {
typeof verificationKey === 'string' && verifyEmail(verificationKey)
}, [verificationKey, verifyEmail])

return <>isEmailVerified = {String(isEmailVerified)}</>
if (isError) return <Typography variant="body1">Email už bol verifikovaný, skús sa prihlásiť.</Typography>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm ale padnut by to mohlo asi aj kvoli networku alebo hocicomu inemu... asi by som radsej dal aj tu moznost, nejako takto:

Email už bol verifikovaný, alebo nastal iný problém. Skús sa prihlásiť a v prípade problémov skús overiť email znovu alebo nás kontaktuj.

@vgeffer vgeffer merged commit e1731f1 into master Dec 8, 2023
1 check passed
@vgeffer vgeffer deleted the 176-email-verification-landing-page branch December 8, 2023 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dopadová stránka pre verifikáciu emailu
2 participants