Skip to content

Commit

Permalink
flow fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
jkachel committed Jan 4, 2024
1 parent ad07341 commit 3864eef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class CourseProductDetailEnroll extends React.Component<
)
})

return enrollableRun || courseRuns[0]
return enrollableRun || (courseRuns && courseRuns[0])
}

resolveCurrentRun() {
Expand Down

0 comments on commit 3864eef

Please sign in to comment.