Skip to content

Commit

Permalink
change check to use constant instead of test value
Browse files Browse the repository at this point in the history
  • Loading branch information
jrchudy committed Sep 19, 2024
1 parent 11699e4 commit dc5f28f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/recordedit/recordedit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -585,8 +585,7 @@ const RecordeditInner = ({
// NOTE: forms.length "should" be 1 at this point before subtracting 1
if (selectionsFillFirstForm) numForms--;

// return (rows.length + numForms < RECORDEDIT_MAX_ROWS);
return (rows.length + numForms < 5);
return (rows.length + numForms < RECORDEDIT_MAX_ROWS);
}

// user closes the modal without making any selections
Expand Down

0 comments on commit dc5f28f

Please sign in to comment.