Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[No QA] [TS migration] Migrate 'SessionUtils.js' lib to TypeScript #27430

Merged
merged 2 commits into from
Sep 20, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: resolved comments
kubabutkiewicz committed Sep 15, 2023

Verified

This commit was signed with the committer’s verified signature. The key has expired.
addaleax Anna Henningsen
commit 6e6127f03a37eda87e325dfcf399922757c59cec
2 changes: 1 addition & 1 deletion src/libs/SessionUtils.ts
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ let loggedInDuringSession: boolean | undefined;
Onyx.connect({
key: ONYXKEYS.SESSION,
callback: (session) => {
if (loggedInDuringSession !== undefined) {
if (loggedInDuringSession) {
return;
}