cnap-cobre/synapse

View on GitHub
frontend/src/store/fileHistory/reducer.js

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Function fileHistory has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function fileHistory(state = initialFileHistoryState, action) {
const stateForPath = state[action.path] || {};
 
switch (action.type) {
case types.GET_FILE_HISTORY_ASYNC.PENDING:
Severity: Minor
Found in frontend/src/store/fileHistory/reducer.js - About 1 hr to fix
    Category
    Status