SumOfUs/Champaign

View on GitHub
app/javascript/state/fundraiser/actions.js

Summary

Maintainability
A
1 hr
Test Coverage

Function setSelectedAmountButton has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function setSelectedAmountButton(payload) {
  return (dispatch, getState) => {
    const state = getState();
    const { selectedAmountButton, donationAmount, isCustomAmount } =
      state.fundraiser || {};
Severity: Minor
Found in app/javascript/state/fundraiser/actions.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status