reload on register to make sure they get properly redirected into menu"
This commit is contained in:
parent
c42d895e59
commit
2a2102ceaa
@ -18,7 +18,7 @@ const addState = connect(
|
|||||||
.then(data => {
|
.then(data => {
|
||||||
if (data.error) return errorToast(data.error);
|
if (data.error) return errorToast(data.error);
|
||||||
infoToast(data.message);
|
infoToast(data.message);
|
||||||
ws.connect();
|
window.location.reload();
|
||||||
})
|
})
|
||||||
.catch(error => errorToast(error));
|
.catch(error => errorToast(error));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user