Skip to content

Commit 16c528e

Browse files
committed
chore(academy): fix prettier error
Signed-off-by: jerensl <54782057+jerensl@users.noreply.github.com>
1 parent 7d5c9c6 commit 16c528e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/custom/LearningCard/LearningCard.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ interface Props {
3030
courseType: string;
3131
}
3232

33-
const OptionalLink: React.PropsWithChildren<{path?: string}> = ({ path, children }) => {
33+
const OptionalLink: React.PropsWithChildren<{ path?: string }> = ({ path, children }) => {
3434
if (!path) {
35-
return <>{children}</>
35+
return <>{children}</>;
3636
}
37-
38-
return <CardLink href={path}>{children}</CardLink>
39-
}
37+
38+
return <CardLink href={path}>{children}</CardLink>;
39+
};
4040

4141
const LearningCard: React.FC<Props> = ({ tutorial, path, courseCount, courseType }) => {
4242
return (

0 commit comments

Comments
 (0)