just-paja/improtresk-web

View on GitHub
src/participants/components/SignupButton.jsx

Summary

Maintainability
A
1 hr
Test Coverage

Function getSignupText has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const getSignupText = (endAt, startAt, alreadyFull) => {
  if (moment().isBefore(startAt)) {
    return {
      disabled: true,
      showStartDate: true,
Severity: Minor
Found in src/participants/components/SignupButton.jsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status