diff --git a/src/components/App.tsx b/src/components/App.tsx index 8437d87..b105e45 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -16,9 +16,7 @@ function App(): JSX.Element { return (
- + setExerciseCount(exerciseCount + 1)} /> diff --git a/src/components/shared/LessonSide/index.tsx b/src/components/shared/LessonSide/index.tsx index c6559db..035488f 100644 --- a/src/components/shared/LessonSide/index.tsx +++ b/src/components/shared/LessonSide/index.tsx @@ -17,7 +17,7 @@ const exArray: { id: string; text: string }[] = [ }, ]; -function LessonSide(props: any): JSX.Element { +function LessonSide(levelNum: number): JSX.Element { return (
@@ -35,7 +35,11 @@ function LessonSide(props: any): JSX.Element { {/* passed from parent component */} - +