Skip to content

Commit 4211f12

Browse files
Ramon VermeulenAlmouro
authored andcommitted
fix: use componentDidMount in favor of deprecated componentWillMount
1 parent ae3cd99 commit 4211f12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class HideWithKeyboard extends Component {
1010
};
1111
}
1212

13-
componentWillMount() {
13+
componentDidMount() {
1414
this._keyboardDidShowListener =
1515
Keyboard.addListener(
1616
Platform.OS === 'android' ? 'keyboardDidShow' : 'keyboardWillShow',

0 commit comments

Comments
 (0)