Skip to content

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

arbordeleau
Copy link
Collaborator

No description provided.

@arbordeleau arbordeleau requested a review from ronal2do March 21, 2025 17:52
</Card>
{data?.showcases.filter(searchFilter).map((showcase: Showcase) => (
<div key={showcase.id}>
<ShowcaseCard showcase={showcase} variant="public" />

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

Suggested change
<ShowcaseCard showcase={showcase} variant="public" />
<ShowcaseCard key={showcase.id} showcase={showcase} variant="public" />

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ohhh ok

Copy link

Deployment Resource Location
Showcase UI https://pr-43-bcshowcase-ui.dev.nborbit.ca/

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

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?

@arbordeleau arbordeleau deployed to development March 24, 2025 12:35 — with GitHub Actions Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants