Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Commit

Permalink
Fix lack of log out notification
Browse files Browse the repository at this point in the history
  • Loading branch information
orzechdev committed Feb 26, 2020
1 parent 8090a02 commit 5bcb09e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/@sdk/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export function removeAuthToken() {

export function clearStorage(): void {
localStorage.clear();
dispatchEvent(authEvent);
}

interface ResponseError extends ErrorResponse {
Expand Down

0 comments on commit 5bcb09e

Please sign in to comment.