Move the shuffleAlbum logic into an action

This commit is contained in:
Deluan
2020-04-26 19:15:52 -04:00
parent 4441ae1f0b
commit b44218fdcc
3 changed files with 40 additions and 18 deletions
+8 -2
View File
@@ -1,4 +1,10 @@
import Player from './Player'
import { addTrack, setTrack, playQueueReducer, playAlbum } from './queue'
import {
addTrack,
setTrack,
playQueueReducer,
playAlbum,
shuffleAlbum,
} from './queue'
export { Player, addTrack, setTrack, playAlbum, playQueueReducer }
export { Player, addTrack, setTrack, playAlbum, playQueueReducer, shuffleAlbum }