Skip to content

Commit

Permalink
Fixed props error #76 (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpaten authored Nov 22, 2023
1 parent 2bd2098 commit 2fbff72
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState } from 'react';
import CongratsPage from './shared/Congratulations';
import ExerciseSide from './shared/ExerciseSide';
import LessonSide from './shared/LessonSide';
import LessonSide from './shared/LessonSide/LessonSide';
import '../assets/WestwoodSans-Regular.ttf';

function App(): JSX.Element {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ const exArray: { id: string; text: string }[] = [
},
];

function LessonSide(levelNum: number): JSX.Element {
interface lessonSideProps {
levelNum: number;
}

function LessonSide({ levelNum }: lessonSideProps): JSX.Element {
return (
<section id="lesson-side-container">
<div>
Expand Down

0 comments on commit 2fbff72

Please sign in to comment.