Fix RCTNetworking error message
Reviewed By: javache Differential Revision: D5397652 fbshipit-source-id: ab081dfa5f29c0b672eda6a1a22d23e6fc0881c1
This commit is contained in:
parent
ad0fe15e2e
commit
50f200ba90
|
@ -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>) {
|
||||
|
|
|
@ -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>) {
|
||||
|
|
Loading…
Reference in New Issue