Repository navigation
fix(mosaic): stop the key warning from element values inside rich() markup - #10888
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: f11d6ed The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-biometrics
@clerk/expo-google-signin
@clerk/expo-native-components
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/mosaic
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
|

Description
OAuthConsentlogged React's "Each child in a list should have a unique key" warning in development. The subtitle copy puts the redirect domain button inside{#nowrap}…{/nowrap}, andrich()passed the parts inside a tag to the tag's component as an array. That array held the unkeyed button element.rich()now wraps those parts in aFragmentbefore passing them on, the same way it already builds its top-level output.rich()today (auth-walletslink,sign-up-legal-consentlink,oauth-consentrenderNowrap) only render{children}, so getting a Fragment instead of an array doesn't change their output.Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change