dynamic/silverstripe-locator-frontend-react

View on GitHub
client/src/js/reducers/mapReducer.js

Summary

Maintainability
A
1 hr
Test Coverage

Function reducer has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function reducer(state = defaultState, action) {
  switch (action.type) {
    case ActionType.MARKER_CLICK:
      return {
        ...state,
Severity: Minor
Found in client/src/js/reducers/mapReducer.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status