Skip to content

Commit

Permalink
fix : Image -> img
Browse files Browse the repository at this point in the history
  • Loading branch information
kanglocal committed Feb 4, 2024
1 parent eba8ed8 commit b7794b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function SimpleList({ listData }: RankListProps) {
<div className={styles.titleText}>{item.title}</div>
</div>
<div className={styles.simpleImageWrapper}>
{item.imageUrl && <Image className={styles.simpleImage} src={item.imageUrl} alt="img설명" />}
{item.imageUrl && <img className={styles.simpleImage} src={item.imageUrl} alt="img설명" />}
</div>
</div>
);
Expand Down Expand Up @@ -84,7 +84,7 @@ function DetailList({ listData }: RankListProps) {
<div className={styles.commentText}>{item.comment}</div>
<div className={styles.detailImageWrapper}>
{item.imageUrl && (
<Image className={styles.detailImage} src={item.imageUrl} alt={`"${item.title}" 의 이미지`} />
<img className={styles.detailImage} src={item.imageUrl} alt={`"${item.title}" 의 이미지`} />
)}
</div>
{item.link && <EmbedComponent link={item.link} />}
Expand Down

0 comments on commit b7794b3

Please sign in to comment.