{`${pageTitleBreadCrumbs.join(' | ')} | ${getConfig().SITE_NAME}`}
{shouldDisplayTriggers && (
<>
>
)}
setFirstSectionCelebrationOpen(false)}
/>
setWeeklyGoalCelebrationOpen(false)}
/>
);
};
Course.propTypes = {
courseId: PropTypes.string,
sequenceId: PropTypes.string,
unitId: PropTypes.string,
nextSequenceHandler: PropTypes.func.isRequired,
previousSequenceHandler: PropTypes.func.isRequired,
unitNavigationHandler: PropTypes.func.isRequired,
windowWidth: PropTypes.number.isRequired,
};
Course.defaultProps = {
courseId: null,
sequenceId: null,
unitId: null,
};
const CourseWrapper = (props) => {
// useWindowSize initially returns an undefined width intentionally at first.
// See https://www.joshwcomeau.com/react/the-perils-of-rehydration/ for why.
// But