frontend/src/store/fileHistory/reducer.js
Showing 1 of 1 total issue
Function fileHistory
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function fileHistory(state = initialFileHistoryState, action) { const stateForPath = state[action.path] || {}; switch (action.type) { case types.GET_FILE_HISTORY_ASYNC.PENDING: