Skip to content

Commit

Permalink
add key prop to mapped images
Browse files Browse the repository at this point in the history
  • Loading branch information
mbwatson committed Mar 7, 2024
1 parent 19a69c5 commit f5eca2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/custom-ui/components/layer-selection/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export const LayerSelectionMenu = ({ viewState }) => {
}}
>
{bannerImagesList.map((image) => (
<img alt="" src={image} height="50" />
<img alt="" src={image} height="50" key={image} />
))}
<SpeedDial
direction="down"
Expand Down

0 comments on commit f5eca2f

Please sign in to comment.