diff --git a/src/libs/SessionUtils.ts b/src/libs/SessionUtils.ts index a916be2e95da..fcbc9a887fa9 100644 --- a/src/libs/SessionUtils.ts +++ b/src/libs/SessionUtils.ts @@ -32,7 +32,7 @@ let loggedInDuringSession: boolean | undefined; Onyx.connect({ key: ONYXKEYS.SESSION, callback: (session) => { - if (loggedInDuringSession !== undefined) { + if (loggedInDuringSession) { return; }