fixed buggy rc-slider

This commit is contained in:
muerwre 2019-03-08 11:15:08 +07:00
parent ee42085dd6
commit 9d093699dd
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ import { isMobile } from '$utils/window';
import classnames from 'classnames';
// import { Range } from 'rc-slider';
import Range from 'rc-slider/lib/Range';
import * as Range from 'rc-slider/lib/Range';
import { TABS } from '$constants/dialogs';
import { Icon } from '$components/panels/Icon';
import { pushPath } from '$utils/history';

View file

@ -4,7 +4,7 @@ import { toHours } from '$utils/format';
import { Icon } from '$components/panels/Icon';
import { connect } from 'react-redux';
// import Slider from 'rc-slider';
import Slider from 'rc-slider/lib/Slider';
import * as Slider from 'rc-slider/lib/Slider';
import { bindActionCreators } from 'redux';
import { setSpeed } from '$redux/user/actions';
import { IRootState } from "$redux/user/reducer";