diff --git a/Libraries/Network/NetInfo.js b/Libraries/Network/NetInfo.js index 864929e09..ae598179f 100644 --- a/Libraries/Network/NetInfo.js +++ b/Libraries/Network/NetInfo.js @@ -158,12 +158,12 @@ const _isConnectedSubscriptions = new Map(); * function handleFirstConnectivityChange(isConnected) { * console.log('Then, is ' + (isConnected ? 'online' : 'offline')); * NetInfo.isConnected.removeEventListener( - * 'change', + * 'connectionChange', * handleFirstConnectivityChange * ); * } * NetInfo.isConnected.addEventListener( - * 'change', + * 'connectionChange', * handleFirstConnectivityChange * ); * ```