glitch-soc/mastodon

View on GitHub
app/javascript/flavours/glitch/reducers/pinned_accounts_editor.js

Summary

Maintainability
A
1 hr
Test Coverage

Function listEditorReducer has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function listEditorReducer(state = initialState, action) {
  switch(action.type) {
  case PINNED_ACCOUNTS_EDITOR_RESET:
    return initialState;
  case PINNED_ACCOUNTS_FETCH_REQUEST:
Severity: Minor
Found in app/javascript/flavours/glitch/reducers/pinned_accounts_editor.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status