Merge pull request #702 from palash-signoz/signup-unmount-state

bug: signup state is now not toggled when component is not toggled
This commit is contained in:
Ankit Nayan 2022-02-11 16:14:41 +05:30 committed by GitHub
commit 79e43f594d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,17 +82,19 @@ const Signup = ({ version, userpref }: SignupProps): JSX.Element => {
history.push(ROUTES.APPLICATION);
} else {
setLoading(false);
notification.error({
message: 'Something went wrong',
});
}
} else {
setLoading(false);
notification.error({
message: 'Something went wrong',
});
}
setLoading(false);
} catch (error) {
notification.error({
message: 'Something went wrong',