Skip to content

Commit

Permalink
refactor: address PR reviews
Browse files Browse the repository at this point in the history
Co-authored-by: Jhon Vente <[email protected]>
  • Loading branch information
mariajgrimaldi and johnvente authored Jan 16, 2024
1 parent d64e475 commit 44071a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/courseware/course/Course.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const Course = ({
const sequence = useModel('sequences', sequenceId);
const section = useModel('sections', sequence ? sequence.sectionId : null);
const enableNewSidebar = getConfig().ENABLE_NEW_SIDEBAR;
const navigationDisabled = sequence ? sequence.navigationDisabled : false;
const navigationDisabled = sequence?.navigationDisabled ?? false;

const pageTitleBreadCrumbs = [
sequence,
Expand Down

0 comments on commit 44071a4

Please sign in to comment.