Skip to content

Commit

Permalink
[Fix] DayPickerSingleDateController: use is-touch-device
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jun 28, 2017
1 parent 208186d commit 77e2135
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/DayPickerSingleDateController.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ import momentPropTypes from 'react-moment-proptypes';
import { forbidExtraProps, nonNegativeInteger } from 'airbnb-prop-types';
import moment from 'moment';
import values from 'object.values';
import isTouchDevice from 'is-touch-device';

import { DayPickerPhrases } from '../defaultPhrases';
import getPhrasePropTypes from '../utils/getPhrasePropTypes';

import isTouchDevice from '../utils/isTouchDevice';

import isSameDay from '../utils/isSameDay';
import isAfterDay from '../utils/isAfterDay';

Expand Down

0 comments on commit 77e2135

Please sign in to comment.