Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Add empty alt texts for review hearts so that esLint is happy
Browse files Browse the repository at this point in the history
We have an aria-label on the parent element, that's why they were
removed in the first place.
  • Loading branch information
Adamik10 committed Aug 1, 2022
1 parent 838a4b3 commit 5884a40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/stories/Library/review/Review.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const Review: React.FC<ReviewProps> = ({
key={value}
src="icons/basic/icon-heart-filled.svg"
className="review__heart"
alt=""
/>
);
})}
Expand All @@ -47,6 +48,7 @@ export const Review: React.FC<ReviewProps> = ({
key={value}
src="icons/basic/icon-heart-grey.svg"
className="review__heart"
alt=""
/>
);
})}
Expand Down

0 comments on commit 5884a40

Please sign in to comment.