mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-22 19:48:56 +08:00
@allow-large-files [flow] deploy flow 0.60
Reviewed By: gabelevi Differential Revision: D6466441 fbshipit-source-id: c51eeb53a2465498ad77b3865b5f8c03758d1d35
This commit is contained in:
committed by
Facebook Github Bot
parent
4ebe76d559
commit
c8e72bb8b8
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user