Skip to content

Commit

Permalink
Fix another default variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tgolen committed Jun 7, 2024
1 parent cfb586c commit 41ff6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/NetworkConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const triggerReconnectionCallbacks = throttle(
* Called when the offline status of the app changes and if the network is "reconnecting" (going from offline to online)
* then all of the reconnection callbacks are triggered
*/
function setOfflineStatus(isCurrentlyOffline: boolean, reason: string): void {
function setOfflineStatus(isCurrentlyOffline: boolean, reason = ''): void {
NetworkActions.setIsOffline(isCurrentlyOffline, reason);

// When reconnecting, ie, going from offline to online, all the reconnection callbacks
Expand Down

0 comments on commit 41ff6a2

Please sign in to comment.