Skip to content

Commit

Permalink
refactor: following review suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Jhon Vente <[email protected]>
  • Loading branch information
mariajgrimaldi and johnvente committed Feb 13, 2024
1 parent 50551a0 commit 429fc1e
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 429fc1e

Please sign in to comment.