resolve missing unique key prop warnings in ChatInputFormattingToolbar #1118
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.
…oolbar
resolve missing unique key prop warnings in ChatInputFormattingToolbar
Acceptance Criteria fulfillment
Fixes # (issue) Fixes #1098
Screenshots
Evidence of Fix
I have attached screenshots showing the successful resolution of the React "missing key" warning.
Before Fix: The browser console displays a warning: Warning: Each child in a list should have a unique "key" prop, specifically pointing to the ChatInputFormattingToolbar.js component.

After Fix: Upon applying the stable keys and replacing unkeyed fragments, the console is clean and the ChatInput UI renders successfully without any reconciliation warnings.

PR Test Details
Launched the environment using yarn storybook.
Logged in using https://open.rocket.chat as the host to mount the ChatInput component.
Inspected the Browser Console (F12) to confirm that the yellow "unique key prop" warning no longer appears when the toolbar renders.
Note: The PR will be ready for live testing at https://rocketchat.github.io/EmbeddedChat/pulls/pr-1118 after approval. Contributors are requested to replace
#1118with the actual PR number.