nukeop/nuclear

View on GitHub
packages/app/app/reducers/player.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function PlayerReducer has 48 lines of code (exceeds 25 allowed). Consider refactoring.
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
Severity: Minor
Found in packages/app/app/reducers/player.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status