Skip to content

Commit

Permalink
fix: don't fallback to null
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Pader committed Jun 12, 2024
1 parent dfb0b2c commit bfcf8b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/Network/NetworkStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ Onyx.connect({
},
});

function getCredentials(): Credentials | null {
return credentials ?? null;
function getCredentials(): Credentials | null | undefined {
return credentials;
}

function isOffline(): boolean {
Expand Down

0 comments on commit bfcf8b3

Please sign in to comment.