mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-20 16:49:52 +00:00
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:
parent
567ad29a76
commit
ab6d1ff3bb
1 changed files with 1 additions and 0 deletions
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue