The signUp email form async validation is now debounced and will cache previous error result in order to prevent unnecessary api calls. The async validation will only be called when a valid email is already registered or is a valid email but user keeps typing.
Also, the form submission is added the success/error modal to notify users what is happening. If it's successful, it will redirect users to homepage when modal is closed. If it's failed, it will notify users and users will stay on the same page when modal is closed.
The signUp email form async validation is now debounced and will cache previous error result in order to prevent unnecessary api calls. The async validation will only be called when a valid email is already registered or is a valid email but user keeps typing.
Also, the form submission is added the success/error modal to notify users what is happening. If it's successful, it will redirect users to homepage when modal is closed. If it's failed, it will notify users and users will stay on the same page when modal is closed.