Fix inspector crash

Summary:
**Motivation**

Use inspector

**Test plan (required)**

UIExplorer

<img width="305" src="https://cloud.githubusercontent.com/assets/1488195/22839533/46be7cd6-efe3-11e6-9fdc-4f483b471388.gif" />
Closes https://github.com/facebook/react-native/pull/12335

Differential Revision: D4545191

fbshipit-source-id: 27ad519032c6c48199875a62d8e768af5336ce23
This commit is contained in:
Sokovikov 2017-02-13 01:20:47 -08:00 committed by Facebook Github Bot
parent fe075732af
commit 24d34fe203
1 changed files with 0 additions and 2 deletions

View File

@ -67,7 +67,6 @@ class NetworkOverlay extends React.Component {
rowID: number,
highlightRow: (sectionID: number, rowID: number) => void,
) => React.Element<any>;
_renderScrollComponent: (props: Object) => React.Element<any>;
_closeButtonClicked: () => void;
// Map of `socketId` -> `index in `_requests``.
_socketIdMap: Object;
@ -97,7 +96,6 @@ class NetworkOverlay extends React.Component {
this._captureDetailScrollView = this._captureDetailScrollView.bind(this);
this._listViewOnLayout = this._listViewOnLayout.bind(this);
this._renderRow = this._renderRow.bind(this);
this._renderScrollComponent = this._renderScrollComponent.bind(this);
this._closeButtonClicked = this._closeButtonClicked.bind(this);
this._socketIdMap = {};
this._xhrIdMap = {};