mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Update FBSource to use Flow 0.22
Reviewed By: gabelevi Differential Revision: D3021265 fb-gh-sync-id: f4c857505c1a7b6b813bcdccd629e595ef7a81af shipit-source-id: f4c857505c1a7b6b813bcdccd629e595ef7a81af
This commit is contained in:
committed by
Facebook Github Bot 2
parent
dc4d4863a2
commit
b473d496c4
@@ -222,6 +222,7 @@ const NetInfo = {
|
||||
eventName: ChangeEventName,
|
||||
handler: Function
|
||||
): void {
|
||||
/* $FlowFixMe(site=react_native) */
|
||||
const listener = _isConnectedSubscriptions.get(handler);
|
||||
NetInfo.removeEventListener(
|
||||
eventName,
|
||||
|
||||
Reference in New Issue
Block a user