Coursemology/coursemology2

View on GitHub
client/app/bundles/course/assessment/submission/reducers/submissionFlags.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function default has 105 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function (state = initialState, action) {
  switch (action.type) {
    case actions.FETCH_SUBMISSIONS_REQUEST:
      return { ...state, isLoading: true };
    case actions.FETCH_SUBMISSION_SUCCESS:

There are no issues that match your filters.

Category
Status