InsidersByte/honeymoon-gift-list

View on GitHub
public/reducers/auth.js

Summary

Maintainability
A
1 hr
Test Coverage

Function authReducer has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function authReducer(state = auth, action) {
  switch (action.type) {
    case TYPES.LOGIN_REQUEST:
      return Object.assign({}, state, { saving: true });

Severity: Minor
Found in public/reducers/auth.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status