Hi, do I have this good? https://pastebin.com/MPb1...
# general
u
Hi, do I have this good? https://pastebin.com/MPb1c0r2 When user click in button (email verification), open this page (Nextjs). At first, the page is blank (before useEffect so user may not see it.). useEffect run consumeVerificationCode to check if the verification code is expired or invalid and if the verification code is expired or invalid user should see screen version with button (status: "error"). The button send email for new code. But if code is ok, user'll get page version for status: "success".
r
makes sense.
u
Do you mean that I did this in good way?
r
yea
u
And now when the user clicks on this button in the email verification email and the code will be ok, the email will be as verified?
r
it should
u
so I needn't to do anything more for email verification? I make sure I haven't missed something.
r
Iโ€™m not sure what you have done. Pls figure this on your own. Our docs are clear enough
u
Ok. I only meant after click in button in email message :)
11 Views