Browse Source

vse propalo

mfdok43 2 năm trước cách đây
mục cha
commit
86c0534fbe
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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()})
+
+//все сломалось