Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
fix(authServive): fix ie11 storage event loop
Browse files Browse the repository at this point in the history
  • Loading branch information
doktordirk committed Oct 11, 2016
1 parent e083ecb commit b9ce956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authService.js
Expand Up @@ -80,7 +80,7 @@ export class AuthService {
* @param {StorageEvent} event StorageEvent
*/
storageEventHandler = (event: StorageEvent) => {
if (event.key !== this.config.storageKey) {
if (event.key !== this.config.storageKey || event.newValue === event.oldValue) {
return;
}

Expand Down

0 comments on commit b9ce956

Please sign in to comment.