-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Implement Course Cards #57
feat: Implement Course Cards #57
Conversation
components/School/school.tsx
Outdated
}; | ||
|
||
const School: FC<Props> = ({ courses, limit }) => { | ||
const sorted = useMemo( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to use a more descriptive name
sortedCourses as example
components/School/school.tsx
Outdated
</div> | ||
|
||
<div className={styles.cards}> | ||
<CourseList courses={sorted || []} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if I'm not mistaken sorted will be an array anyway
<CourseList courses={sorted} />
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
13c6108
to
ef76fff
Compare
ef76fff
to
60ee6b3
Compare
4d66658
to
fcfd9a9
Compare
π’ Add
deploy
label if you want to deploy this Pull Request to staging environmentπ§ββοΈ Pull Request Naming Convention
area:*
label(s)π€ This is a ...
π Related issue link
#40
π‘ Background and solution
Describe the big picture of your changes here
βοΈ Self Check before Merge