We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90549ce commit 453936cCopy full SHA for 453936c
src/CustomDatePickerIOS.js
@@ -61,7 +61,7 @@ export default class CustomDatePickerIOS extends React.PureComponent {
61
};
62
63
componentWillReceiveProps(nextProps) {
64
- if (this.props.date !== nextProps.date) {
+ if (this.props.date.valueOf() !== nextProps.date.valueOf()) {
65
this.setState({
66
date: nextProps.date
67
});
0 commit comments