You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-13 00:10:37 +02:00
Chore: Finished applying eqeqeq rule
This commit is contained in:
@ -68,7 +68,7 @@ export default class SelectDateTimeDialog extends React.PureComponent<any, any>
|
||||
}
|
||||
|
||||
UNSAFE_componentWillReceiveProps(newProps: any) {
|
||||
if (newProps.date != this.state.date) {
|
||||
if (newProps.date !== this.state.date) {
|
||||
this.setState({ date: newProps.date });
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user