Skip to content

Commit

Permalink
Global Styles: fix browser warning regarding highlight colors (#60555)
Browse files Browse the repository at this point in the history
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: ramonjd <[email protected]>
  • Loading branch information
3 people authored Apr 8, 2024
1 parent 3a79b72 commit 567d762
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function HighlightedColors( {
const scaledSwatchSize = normalizedColorSwatchSize * ratio;
return highlightedColors.map( ( { slug, color }, index ) => (
<motion.div
key={ slug }
key={ `${ slug }-${ index }` }
style={ {
height: scaledSwatchSize,
width: scaledSwatchSize,
Expand Down

0 comments on commit 567d762

Please sign in to comment.