Skip to content

Commit 251ade7

Browse files
author
Boris Tacyniak
authored
Fix crash in release mode.
Fix for xgfe#235
1 parent 09847cc commit 251ade7

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
componentWillReceiveProps(nextProps) {
6254
if (nextProps.date !== this.props.date) {
6355
this.setState({date: this.getDate(nextProps.date)});

0 commit comments

Comments
 (0)