packages/app/app/reducers/player.ts
Function PlayerReducer
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function PlayerReducer(state=initialState, action: PlayerReducerActions): PlayerReducerState {
switch (action.type) {
case getType(PlayerActions.startPlayback):
return Object.assign({}, state, {
playbackStatus: Sound.status.PLAYING