Skip to content

Commit

Permalink
removed children
Browse files Browse the repository at this point in the history
  • Loading branch information
mfsilva22 committed Dec 9, 2023
1 parent 4c3d9f3 commit 668ded7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/pages/catalog/oer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,12 @@ interface CourseCardProps {
image: ImageProps["src"];
title: string;
href: string;
children: React.ReactNode;
}

const CourseCard: React.FC<CourseCardProps> = ({
image,
title,
href,
children,
}) => {
return (
<article className="card border-secondary overflow-hidden">
Expand All @@ -53,7 +51,6 @@ const CourseCard: React.FC<CourseCardProps> = ({
<Link href={href}>
<h3 className="card-title text-center h5">{title}</h3>
</Link>
{children}
</div>
</article>
);
Expand All @@ -66,7 +63,6 @@ interface SharedQuestionCardProps {
institution?: string;
ownerName: string;
ownerEmail: string;
children: React.ReactNode;
}

const SharedQuestionCard: React.FC<SharedQuestionCardProps> = ({
Expand All @@ -76,7 +72,6 @@ const SharedQuestionCard: React.FC<SharedQuestionCardProps> = ({
institution,
ownerName,
ownerEmail,
children,
}) => {
return (
<article className="card border-secondary overflow-hidden">
Expand Down Expand Up @@ -105,7 +100,6 @@ const SharedQuestionCard: React.FC<SharedQuestionCardProps> = ({
<strong>Institution: </strong> {institution}
</p>
)}
{children}
</div>
</article>
);
Expand Down

0 comments on commit 668ded7

Please sign in to comment.