Skip to content

Commit 3863386

Browse files
authored
Merge branch 'master' into moment-with-locales
2 parents 19a9f07 + fe5885d commit 3863386

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

datepicker.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,6 @@ class DatePicker extends Component {
5050
this.setModalVisible = this.setModalVisible.bind(this);
5151
}
5252

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-
6153
componentDidMount() {
6254
if (this.props.locale) {
6355
Moment.locale(this.props.locale);

0 commit comments

Comments
 (0)