Skip to content

Commit 62e2773

Browse files
committed
fix lint errs
1 parent dd3dc0a commit 62e2773

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

components/course-revision/CourseRevisionSidebar.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ type PropTypes = {
1010
/* Name of the revision session for this course offering */
1111
courseOfferingTitle: string,
1212

13+
/* Home page for this course offering e.g. 1511 22T3 */
1314
courseOfferingContent: CourseRevisionOffering,
1415

15-
/* First in list must be the course offering, the rest are exercises */
16+
/* List of exercises content */
1617
contentList: CourseRevisionExercise[],
1718

18-
/* Index of the currently selected content in contentList*/
19+
/* Index of the currently selected content in contentList */
1920
currentContentIdx: number,
2021
}
2122

@@ -139,7 +140,7 @@ const CourseRevisionSidebar = ({ courseOfferingTitle, courseOfferingContent, con
139140
backgroundColor: currentContentIdx === -1 ? "#31a7f5" : "#2285c7",
140141
fontWeight: currentContentIdx === -1 ? "bold" : "normal",
141142
}}>
142-
"Getting Started"
143+
Getting Started
143144

144145
</ExerciseButton>
145146
</Link>

pages/course-revision/[course_offering]/[exercise]/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,10 @@ import Link from 'next/link'
1515
import { ArrowDown, ArrowLeft } from 'phosphor-react'
1616
import ArticleLayout from 'components/ArticleLayout'
1717
import { Button } from 'components/Button'
18-
<<<<<<< HEAD
1918
import { useRouter } from 'next/router'
2019
import CourseRevisionSidebar from 'components/course-revision/CourseRevisionSidebar'
2120
import { styled } from '@stitches/react'
2221
import ContentContainer from 'components/course-revision/ContentContainer'
23-
=======
24-
>>>>>>> main
2522

2623
const defaultComponents = {
2724
Image,

0 commit comments

Comments
 (0)