Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Jan 6, 2022
1 parent f247d9f commit e881021
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/theme/Header/HomepageSlider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ class HomepageSlider extends Component {
};

createDescription(children) {
const items = children.map((child) => (
<div className="slider-child">
const items = children.map((child, index) => (
<div className="slider-child" key={index}>
<img
alt="descriptive icon"
src={`data:image/svg+xml;utf8,${child.icon}`}
Expand Down

0 comments on commit e881021

Please sign in to comment.