src/participants/components/SignupButton.jsx
Function getSignupText
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const getSignupText = (endAt, startAt, alreadyFull) => {
if (moment().isBefore(startAt)) {
return {
disabled: true,
showStartDate: true,