Skip to content

Commit

Permalink
refactor: apply review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
dyudyunov authored and arbrandes committed Feb 27, 2024
1 parent 809112d commit 852d0ef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function BulkEmailRecipient(props) {
additionalCohorts,
courseModes,
} = props;
const isCourseModes = courseModes && courseModes.length > 1;
const hasCourseModes = courseModes && courseModes.length > 1;
return (
<Form.Group>
<Form.Label>
Expand Down Expand Up @@ -58,7 +58,7 @@ export default function BulkEmailRecipient(props) {
</Form.Checkbox>
{
// additional modes
isCourseModes
hasCourseModes
&& courseModes.map((courseMode) => (
<Form.Checkbox
key={`track:${courseMode.slug}`}
Expand Down

0 comments on commit 852d0ef

Please sign in to comment.