We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fe0d64 commit 9ee2ab9Copy full SHA for 9ee2ab9
src/components/SyllabusTabLink.tsx
@@ -11,7 +11,7 @@ export const SyllabusTabLink = () => {
11
const intl = useIntl();
12
const match = useMatch(SYLLABUS_ROUTE);
13
const { courseId } = useParams();
14
- return match && courseId && (
+ return courseId && (
15
<Link
16
key="syllabus"
17
className={classNames('nav-item flex-shrink-0 nav-link', { active: !!match })}
0 commit comments