Skip to content

Commit

Permalink
fix: [M3-8696] - Explicitly define 'key' prop for Autocomplete instea…
Browse files Browse the repository at this point in the history
…d of spreading (#11041)

* fix: [M3-8696] - Explicitly define 'key' prop instead of spreading

* Added changeset: Explicitly define 'key' prop instead of spreading

* Update cs

---------

Co-authored-by: Jaalah Ramos <jaalah.ramos@gmail.com>
  • Loading branch information
jaalah-akamai and jaalah authored Oct 3, 2024
1 parent 985f236 commit 3709cec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11041-fixed-1727966039153.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Explicitly define 'key' prop for Autocomplete instead of spreading ([#11041](https://github.com/linode/manager/pull/11041))
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export const Autocomplete = <
return renderOption ? (
renderOption(props, option, state, ownerState)
) : (
<ListItem {...props} data-qa-option>
<ListItem {...props} data-qa-option key={props.key}>
<>
<Box
sx={{
Expand Down

0 comments on commit 3709cec

Please sign in to comment.