cnap-cobre/synapse

View on GitHub
frontend/src/store/ui/focusedFiles/reducer.js

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Function focusedFile has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function focusedFile(state = initialFocusedFileState, action) {
const currentFocusedFilesList = state.list;
switch (action.type) {
case ADD_FOCUSED_FILE:
return Object.assign({}, state, {
Severity: Minor
Found in frontend/src/store/ui/focusedFiles/reducer.js - About 1 hr to fix
    Category
    Status