Fix RCTNetworking error message

Reviewed By: javache

Differential Revision: D5397652

fbshipit-source-id: ab081dfa5f29c0b672eda6a1a22d23e6fc0881c1
This commit is contained in:
Kathy Gray 2017-07-11 09:04:47 -07:00 committed by Facebook Github Bot
parent ad0fe15e2e
commit 50f200ba90
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ class RCTNetworking extends NativeEventEmitter {
if (__DEV__ && !RCTNetworkingNative) {
class MissingNativeRCTNetworkingShim extends MissingNativeEventEmitterShim {
constructor() {
super('RCTAppState', 'AppState');
super('RCTNetworking', 'Networking');
}
sendRequest(...args: Array<any>) {

View File

@ -63,7 +63,7 @@ class RCTNetworking extends NativeEventEmitter {
if (__DEV__ && !RCTNetworkingNative) {
class MissingNativeRCTNetworkingShim extends MissingNativeEventEmitterShim {
constructor() {
super('RCTAppState', 'AppState');
super('RCTNetworking', 'Networking');
}
sendRequest(...args: Array<any>) {