Add sign up toast message

This commit is contained in:
Kurt Hutten
2021-10-01 21:22:02 +10:00
parent 3aa3254e48
commit 66dc04d98e

View File

@@ -47,6 +47,13 @@ const LoginModal = ({ open, onClose, shouldStartWithSignup = false }) => {
password,
remember: { full_name: name, userName },
})
toast(
'Look out for a verification email to finish making your account.',
{
icon: '📬',
duration: 8000,
}
)
onClose()
} catch (errorEvent) {
setError(errorEvent?.json?.error_description)