Skip to content

Commit ab6d1ff

Browse files
committedNov 30, 2019
Fix the stop button
Aparently window.stop() is a thing, and ESLint/TypeScript let me do this. Sigh. A potential fix: facebook/create-react-app#1840
1 parent 567ad29 commit ab6d1ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎js/components/MainWindow/ActionButtons.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const ActionButtons = React.memo(() => {
77
const play = useActionCreator(Actions.play);
88
const pause = useActionCreator(Actions.pause);
99
const next = useActionCreator(Actions.next);
10+
const stop = useActionCreator(Actions.stop);
1011
return (
1112
<div className="actions">
1213
<div id="previous" onClick={previous} title="Previous Track" />

0 commit comments

Comments
 (0)
Please sign in to comment.