Skip to content

Commit

Permalink
fix: refresh page when logout (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carrotzpc committed Feb 14, 2023
1 parent cc81502 commit 94b58f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bff-sdk/errors/modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { removeAuthData } from '../constants';

export const logout = () => {
removeAuthData();
window.location.href = '/';
window.location.reload();
};

let InvalidTokenModal:
Expand Down

0 comments on commit 94b58f7

Please sign in to comment.