diff --git a/src/App.js b/src/App.js index 37d6461..9296745 100644 --- a/src/App.js +++ b/src/App.js @@ -33,11 +33,13 @@ const App = () => { play = () => { if (audioElmRef.current) { audioElmRef.current.play() + setPlayPause(true) } }, pause = () => { if (audioElmRef.current) { audioElmRef.current.pause() + setPlayPause(false) } }, loadData = () => {