diff --git a/src/components/PlayerControl.js b/src/components/PlayerControl.js index 76b6bfb..d8d4dd3 100644 --- a/src/components/PlayerControl.js +++ b/src/components/PlayerControl.js @@ -4,8 +4,7 @@ import { useSelector, useDispatch } from 'react-redux' import { selectHasNextSegment, selectRunning, - selectInterval, - selectCurrentSegment + selectInterval } from '../store/selectors' import { incrementSegment, stop, pause, start } from '../store/actions' import { FiPlay, FiPause, FiSquare } from 'react-icons/fi' @@ -17,8 +16,6 @@ export const PlayerControl = () => { const running = useSelector(selectRunning) const hasNext = useSelector(selectHasNextSegment) const interval = useSelector(selectInterval) - const segment = useSelector(selectCurrentSegment) - console.log(interval, segment) useInterval( () => {