Skip to content

Commit

Permalink
Fix #7368: Chips prevent unique key warning (#7369)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Oct 24, 2024
1 parent 6f41c49 commit 99bc776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/chips/Chips.js
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ export const Chips = React.memo(
);

return (
<li {...inputTokenProps}>
<li {...inputTokenProps} key={props.inputId + '_chips_input'}>
<input {...inputProps} />
</li>
);
Expand Down

0 comments on commit 99bc776

Please sign in to comment.