build: fix warning about key in OptionsTable#10113
Merged
mergify[bot] merged 1 commit intomainfrom Feb 3, 2026
Merged
Conversation
Contributor
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🟢 🤖 Continuous IntegrationWonderful, this rule succeeded.
🟢 👀 Review RequirementsWonderful, this rule succeeded.
🟢 Enforce conventional commitWonderful, this rule succeeded.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🟢 🔎 ReviewsWonderful, this rule succeeded.
🟢 📕 PR descriptionWonderful, this rule succeeded.
|
There was a problem hiding this comment.
Pull request overview
This PR fixes a React warning by replacing the shorthand fragment syntax (<>...</>) with the explicit React.Fragment syntax to support the key prop in a mapped component.
Changes:
- Added React import to enable
React.Fragmentusage - Replaced shorthand fragment syntax with
React.Fragment key={optionKey}in the map function
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The issue was that the shorthand fragment syntax (<>...</>) doesn't support key props. Change-Id: Iac5f82e5a0fcf1c06dd223db5c8e72949e9e9138
2371bc0 to
26565fe
Compare
JulianMaurin
approved these changes
Feb 3, 2026
remyduthu
approved these changes
Feb 3, 2026
Contributor
Merge Queue Status✅ The pull request has been merged at 26565fe This pull request spent 2 minutes 22 seconds in the queue, including 2 minutes 6 seconds running CI. Required conditions to merge
|
59 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The issue was that the shorthand fragment syntax (<>...</>) doesn't support key props.