From f9025ddd3d9145070dfa0660f6c1a87f13fb1d70 Mon Sep 17 00:00:00 2001 From: Michael Lan Date: Wed, 25 Oct 2023 15:06:16 -0700 Subject: [PATCH] fix: Address linting issues with ClassInfoBox --- src/components/Class/components/ClassInfoBox.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Class/components/ClassInfoBox.tsx b/src/components/Class/components/ClassInfoBox.tsx index f6f7156f..1023ef48 100644 --- a/src/components/Class/components/ClassInfoBox.tsx +++ b/src/components/Class/components/ClassInfoBox.tsx @@ -4,12 +4,12 @@ import '../../../styles/ClassPage.scss'; interface ClassInfoBoxProps { title: string; children: React.ReactNode; -}; +} -const ClassInfoBox = function ({ +const ClassInfoBox = ({ title, children, -} : ClassInfoBoxProps) { +} : ClassInfoBoxProps) => { return (
{title}