Skip to content

Commit

Permalink
fix: eslint 주석 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Ginieee committed Aug 19, 2024
1 parent 0414837 commit 9c32614
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/_components/user/workation/WkReviewInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@ const WkReviewInfo = ({
<div className="mb-1 flex">
{[...Array(rating)].map((_, index) => (
<Image
// eslint-disable-next-line react/no-array-index-key
key={`star-filled-${index}`}
src={StarRateIcon}
alt="StarRateIcon"
/>
))}
{[...Array(5 - rating)].map((_, index) => (
<Image
// eslint-disable-next-line react/no-array-index-key
key={`star-filled-${index}`}
src={StarRateEmptyIcon}
alt="StarRateEmptyIcon"
Expand Down

0 comments on commit 9c32614

Please sign in to comment.