diff --git a/src/DatePickerAndroid.js b/src/DatePickerAndroid.js index 286a65c8..128f36a5 100644 --- a/src/DatePickerAndroid.js +++ b/src/DatePickerAndroid.js @@ -27,14 +27,7 @@ class DatePickerAndroid extends React.PureComponent { if (props.modal) return null - return ( - - ) + return } getId = () => { @@ -117,13 +110,6 @@ class DatePickerAndroid extends React.PureComponent { this.isClosing = true this.props.onCancel() } - - _withoutSecond = (date) => { - if (!date) return date - date.setSeconds(0) - date.setMilliseconds(0) - return date - } } export default DatePickerAndroid