Skip to content
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

fix(core): issue with keys in form components #1197

Merged
merged 3 commits into from
Aug 1, 2024
Merged

Conversation

jorgemoya
Copy link
Contributor

@jorgemoya jorgemoya commented Jul 31, 2024

What/Why?

Fixes issue with duplicate keys by setting key before spreading props. This seems to be a NextJS issue, where key is removed if used after spreading props.

Testing

Locally no longer see duplicate keys messages.

@jorgemoya jorgemoya requested a review from a team as a code owner July 31, 2024 19:35
Copy link

vercel bot commented Jul 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
catalyst-latest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2024 4:16pm
6 Skipped Deployments
Name Status Preview Comments Updated (UTC)
catalyst ⬜️ Ignored (Inspect) Aug 1, 2024 4:16pm
catalyst-1millionproducts-store ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2024 4:16pm
catalyst-au ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2024 4:16pm
catalyst-test-store ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2024 4:16pm
catalyst-uk ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2024 4:16pm
catalyst-unstable ⬜️ Ignored (Inspect) Visit Preview Aug 1, 2024 4:16pm

Copy link

changeset-bot bot commented Jul 31, 2024

🦋 Changeset detected

Latest commit: 5884871

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@bigcommerce/catalyst-core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jorgemoya jorgemoya changed the title fix(core): issue with keys in input components fix(core): issue with keys in form components Aug 1, 2024
Copy link
Contributor

github-actions bot commented Aug 1, 2024

⚡️🏠 Lighthouse report

Lighthouse ran against https://catalyst-latest-j3e8s4q46-bigcommerce-platform.vercel.app

🖥️ Desktop

We ran Lighthouse against the changes on a desktop and produced this report. Here's the summary:

Category Score
🟠 Performance 83
🟢 Accessibility 100
🟢 Best practices 96
🟠 SEO 82

📱 Mobile

We ran Lighthouse against the changes on a mobile and produced this report. Here's the summary:

Category Score
🟢 Performance 90
🟢 Accessibility 100
🟢 Best practices 96
🟠 SEO 85

@jorgemoya jorgemoya added this pull request to the merge queue Aug 1, 2024
Merged via the queue into main with commit c831677 Aug 1, 2024
13 checks passed
@jorgemoya jorgemoya deleted the fix-issue-with-keys branch August 1, 2024 16:22
This was referenced Aug 1, 2024
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