import React from 'react' import { useSelector, useDispatch } from 'react-redux' import { debounce } from 'debounce' import { setMaxLength, setWpm, setOffset } from '../store/actions' import { Slider } from './Slider' import { selectOffset } from '../store/selectors' export const Options = () => { const dispatch = useDispatch() const maxLength = useSelector(state => state.maxLength) const wpm = useSelector(state => state.wpm) const offset = useSelector(selectOffset) return (