mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-09-23 06:53:14 +08:00
bug: signup state is now not toggled when component is not toggled
This commit is contained in:
parent
9bf37b391e
commit
0ae5b824d9
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user