Skip to content

Commit

Permalink
feat(verification): changed verification err message
Browse files Browse the repository at this point in the history
  • Loading branch information
vgeffer committed Dec 8, 2023
1 parent d1bfc51 commit ea82ea1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/VerifyEmail/VerifyEmail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,17 @@ export const VerifyEmail: FC = () => {
typeof verificationKey === 'string' && verifyEmail(verificationKey)
}, [verificationKey, verifyEmail])

if (isError) return <Typography variant="body1">Email už bol verifikovaný, skús sa prihlásiť.</Typography>
if (isError)
return (
<Typography variant="body1">
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.
</Typography>
)
if (isVerified)
return (
<>
<Typography variant="body1">Pre dokončenie overenia emailu sa prihláste</Typography>
<Typography variant="body1">Pre dokončenie overenia emailu sa prihlás</Typography>
<LoginForm
closeOverlay={() => {
router.push('/')
Expand Down

0 comments on commit ea82ea1

Please sign in to comment.