Skip to content

Commit a2e5a73

Browse files
relaod the window after login
1 parent e390e63 commit a2e5a73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/Config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ export const login = async (
295295
const loginStatus = (data as { login: string }).login;
296296
if (loginStatus === STATUS_SUCCESS) {
297297
setLoginError(false);
298+
window.location.reload();
298299
} else {
299300
setLoginError(true);
300301
}

0 commit comments

Comments
 (0)