refactor: only run login if logout and login are falsey
This commit is contained in:
parent
22a73737af
commit
0e889ded3e
|
@ -26,7 +26,7 @@ function handleStorage(event: StorageEvent) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (event.key === "key" && !getLoginComplete()) {
|
||||
if (event.key === "key" && !getLoginComplete() && !getLogoutComplete()) {
|
||||
let userKey;
|
||||
|
||||
try {
|
||||
|
|
Reference in New Issue