You've already forked joplin
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:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user