Fix the stop button

Aparently window.stop() is a thing, and ESLint/TypeScript let me do this. Sigh.

A potential fix: https://github.com/facebook/create-react-app/pull/1840
This commit is contained in:
Jordan Eldredge 2019-08-20 07:42:54 -07:00
parent 567ad29a76
commit ab6d1ff3bb

View file

@ -7,6 +7,7 @@ const ActionButtons = React.memo(() => {
const play = useActionCreator(Actions.play);
const pause = useActionCreator(Actions.pause);
const next = useActionCreator(Actions.next);
const stop = useActionCreator(Actions.stop);
return (
<div className="actions">
<div id="previous" onClick={previous} title="Previous Track" />