From 807f59bead21be87af150676777cf960f507d1ad Mon Sep 17 00:00:00 2001 From: Jonah Paten Date: Tue, 7 Nov 2023 18:28:12 -0800 Subject: [PATCH] Fixed lint issues (#54) --- src/components/App.tsx | 4 +--- src/components/shared/LessonSide/index.tsx | 8 ++++++-- 2 files changed, 7 insertions(+), 5 deletions(-) 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 */} - +