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 09847cc commit 251ade7Copy full SHA for 251ade7
datepicker.js
@@ -50,14 +50,6 @@ class DatePicker extends Component {
50
this.setModalVisible = this.setModalVisible.bind(this);
51
}
52
53
- componentWillMount() {
54
- // ignore the warning of Failed propType for date of DatePickerIOS, will remove after being fixed by official
55
- if (!console.ignoredYellowBox) {
56
- console.ignoredYellowBox = [];
57
- }
58
- console.ignoredYellowBox.push('Warning: Failed propType');
59
60
-
61
componentWillReceiveProps(nextProps) {
62
if (nextProps.date !== this.props.date) {
63
this.setState({date: this.getDate(nextProps.date)});
0 commit comments