@allow-large-files [flow] deploy flow 0.60

Reviewed By: gabelevi

Differential Revision: D6466441

fbshipit-source-id: c51eeb53a2465498ad77b3865b5f8c03758d1d35
This commit is contained in:
Marshall Roch
2017-12-04 13:25:03 -08:00
committed by Facebook Github Bot
parent 4ebe76d559
commit c8e72bb8b8
7 changed files with 10 additions and 14 deletions

View File

@@ -324,7 +324,6 @@ class StatusBar extends React.Component<{
componentWillUnmount() {
// When a StatusBar is unmounted, remove itself from the stack and update
// the native bar with the next props.
// $FlowFixMe found when converting React.createClass to ES6
const index = StatusBar._propsStack.indexOf(this._stackEntry);
StatusBar._propsStack.splice(index, 1);
@@ -332,7 +331,6 @@ class StatusBar extends React.Component<{
}
componentDidUpdate() {
// $FlowFixMe found when converting React.createClass to ES6
const index = StatusBar._propsStack.indexOf(this._stackEntry);
this._stackEntry = createStackEntry(this.props);
StatusBar._propsStack[index] = this._stackEntry;