1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-05 22:57:29 +02:00

Mobile: Trying to upgrade to React Native 0.55

This commit is contained in:
Laurent Cozic
2018-04-30 17:38:19 +01:00
parent e90abf3517
commit 93966b0fa1
24 changed files with 3120 additions and 1639 deletions

View File

@@ -14,7 +14,7 @@ class SelectDateTimeDialog extends Component {
this.state = { date: null };
}
componentWillReceiveProps(newProps) {
UNSAFE_componentWillReceiveProps(newProps) {
if (newProps.date != this.state.date) {
this.setState({ date: newProps.date });
}