Add sign up toast message
This commit is contained in:
@@ -47,6 +47,13 @@ const LoginModal = ({ open, onClose, shouldStartWithSignup = false }) => {
|
|||||||
password,
|
password,
|
||||||
remember: { full_name: name, userName },
|
remember: { full_name: name, userName },
|
||||||
})
|
})
|
||||||
|
toast(
|
||||||
|
'Look out for a verification email to finish making your account.',
|
||||||
|
{
|
||||||
|
icon: '📬',
|
||||||
|
duration: 8000,
|
||||||
|
}
|
||||||
|
)
|
||||||
onClose()
|
onClose()
|
||||||
} catch (errorEvent) {
|
} catch (errorEvent) {
|
||||||
setError(errorEvent?.json?.error_description)
|
setError(errorEvent?.json?.error_description)
|
||||||
|
|||||||
Reference in New Issue
Block a user