locomotivecms/engine

View on GitHub
app/javascript/src/locomotive/editor/reducers/editor.js

Summary

Maintainability
A
1 hr
Test Coverage

Function editor has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function editor(state = {}, action) {
  switch(action.type) {

    case 'EDITOR::LOAD':
      return action.editor;
Severity: Minor
Found in app/javascript/src/locomotive/editor/reducers/editor.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status