fix: ui refresh page after login (#230)
This commit is contained in:
parent
4f3a8d275b
commit
8be545d3da
1 changed files with 1 additions and 0 deletions
|
@ -445,6 +445,7 @@ function setupAuth() {
|
||||||
$loginBtn.addEventListener("click", async () => {
|
$loginBtn.addEventListener("click", async () => {
|
||||||
try {
|
try {
|
||||||
await checkAuth()
|
await checkAuth()
|
||||||
|
location.reload();
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
alert(err.message);
|
alert(err.message);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue