Skip to content

Commit 51984c2

Browse files
authored
Update src/connections/sources/catalog/libraries/mobile/react-native/index.md
1 parent 14b8d42 commit 51984c2

File tree

1 file changed

+1
-1
lines changed
  • src/connections/sources/catalog/libraries/mobile/react-native

1 file changed

+1
-1
lines changed

src/connections/sources/catalog/libraries/mobile/react-native/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ const client = createClient({
377377
// If we detect the user disconnects from the network remove all flush policies,
378378
// That way the Segment client won't keep attempting to send events to Segment but will still
379379
// store them for future upload.
380-
// If the network comes back up we add the policies back
380+
// If the network comes back up, the Segment client adds the policies back.
381381
const unsubscribe = NetInfo.addEventListener((state) => {
382382
if (state.isConnected) {
383383
client.addFlushPolicy(...policiesIfNetworkIsUp);

0 commit comments

Comments
 (0)