Skip to content

Commit

Permalink
Fix RCTNetworking error message
Browse files Browse the repository at this point in the history
Reviewed By: javache

Differential Revision: D5397652

fbshipit-source-id: ab081dfa5f29c0b672eda6a1a22d23e6fc0881c1
  • Loading branch information
Kathy Gray authored and facebook-github-bot committed Jul 11, 2017
1 parent ad0fe15 commit 50f200b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Libraries/Network/RCTNetworking.android.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class RCTNetworking extends NativeEventEmitter {
if (__DEV__ && !RCTNetworkingNative) { if (__DEV__ && !RCTNetworkingNative) {
class MissingNativeRCTNetworkingShim extends MissingNativeEventEmitterShim { class MissingNativeRCTNetworkingShim extends MissingNativeEventEmitterShim {
constructor() { constructor() {
super('RCTAppState', 'AppState'); super('RCTNetworking', 'Networking');
} }
sendRequest(...args: Array<any>) { sendRequest(...args: Array<any>) {
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Network/RCTNetworking.ios.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class RCTNetworking extends NativeEventEmitter {
if (__DEV__ && !RCTNetworkingNative) { if (__DEV__ && !RCTNetworkingNative) {
class MissingNativeRCTNetworkingShim extends MissingNativeEventEmitterShim { class MissingNativeRCTNetworkingShim extends MissingNativeEventEmitterShim {
constructor() { constructor() {
super('RCTAppState', 'AppState'); super('RCTNetworking', 'Networking');
} }
sendRequest(...args: Array<any>) { sendRequest(...args: Array<any>) {
Expand Down

0 comments on commit 50f200b

Please sign in to comment.