File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
src/client/components/DateRangeInput Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import DayPicker from '../DayPicker';
55import InputAddonButton from '../InputAddonButton' ;
66import DateVariants from '../DateVariants' ;
77import DateInputField from '../DateInputField' ;
8- import { DateUtils } from 'react-day-picker' ;
98import assign from 'lodash/assign' ;
109import isEqual from 'lodash/isEqual' ;
1110import moment from '../moment' ;
@@ -209,11 +208,6 @@ class DateRangeInput extends Component {
209208 let from = this . props . value [ 0 ] ;
210209 let to = this . props . value [ 1 ] ;
211210
212- if ( DateUtils . isSameDay ( day , from ) ) {
213- this . handleReset ( ) ;
214- return ;
215- }
216-
217211 if ( isSelectingFirstDay ( from , to , day ) ) {
218212 this . handleRangeChange ( [ day , null ] ) ;
219213 this . setState ( {
You can’t perform that action at this time.
0 commit comments