mfdok43 2 anni fa
parent
commit
86c0534fbe
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      src/reducers/playerReducer.js

+ 3 - 1
src/reducers/playerReducer.js

@@ -29,4 +29,6 @@ export function playerReducer(state={},{
 }
 
 export const actionTrackPlay = (track,isPlaying) => ({type: "TRACK_PLAY",isPlaying: track.play()})
-export const actionTrackStop = (track,isStopped) => ({type: "TRACK_PLAY",isStopped: track.pause()})
+export const actionTrackStop = (track,isStopped) => ({type: "TRACK_PLAY",isStopped: track.pause()})
+
+//все сломалось