From 5407426325db740b7cc0e40ac5d57312b3c36740 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Tue, 20 Aug 2019 07:42:54 -0700 Subject: [PATCH] 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 --- js/components/MainWindow/ActionButtons.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/js/components/MainWindow/ActionButtons.tsx b/js/components/MainWindow/ActionButtons.tsx index 50442ac9c5..6577b4c5b2 100644 --- a/js/components/MainWindow/ActionButtons.tsx +++ b/js/components/MainWindow/ActionButtons.tsx @@ -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 (