Skip to content

Commit

Permalink
Change componentWillMount to componentDidMount
Browse files Browse the repository at this point in the history
  • Loading branch information
dapx committed Jul 4, 2018
1 parent 0dc594e commit 01e4ba2
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/scenes/productEdit.js
Original file line number Diff line number Diff line change
@@ -49,7 +49,7 @@ class ProductEdit extends Component {
this.editImages = this.editImages.bind(this);
}

componentWillMount() {
componentDidMount() {
if (isIOS) StatusBar.setHidden(true, 'fade');
}

2 changes: 1 addition & 1 deletion js/scenes/storeEdit.js
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ class StoreEdit extends Component {
this.onPressButton = this.onPressButton.bind(this);
}

componentWillMount() {
componentDidMount() {
if (isIOS) StatusBar.setHidden(true, 'fade');
}

0 comments on commit 01e4ba2

Please sign in to comment.