-
Notifications
You must be signed in to change notification settings - Fork 1
dynamic showcase card component #43
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
base: main
Are you sure you want to change the base?
dynamic showcase card component #43
Conversation
</Card> | ||
{data?.showcases.filter(searchFilter).map((showcase: Showcase) => ( | ||
<div key={showcase.id}> | ||
<ShowcaseCard showcase={showcase} variant="public" /> |
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.
key is default form div, you don't need to wrap it in another div
<ShowcaseCard showcase={showcase} variant="public" /> | |
<ShowcaseCard key={showcase.id} showcase={showcase} variant="public" /> |
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.
Ohhh ok
PR Deployment URLs ready for review. |
tab.status === tabs[0].status | ||
? data?.showcases?.length || 0 | ||
: data?.showcases?.filter((showcase) => showcase.status === tab.status).length || 0; | ||
tab.status === tabs[0].status |
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.
what are we trying to achieve here?
No description provided.