reload on register to make sure they get properly redirected into menu"
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user