Skip to content

Commit 2cbaeaa

Browse files
authored
Merge pull request #29
[Feat#12]폴더 오류 해결 시도
2 parents 60679e3 + 749141c commit 2cbaeaa

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/assets/icons/Union.png

2.33 KB
Loading

src/components/SearchListItem.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const SearchListItem = ({ publisher, articles }) => {
124124
<CardImage
125125
src={article.thumbnail}
126126
alt="기사 썸네일"
127-
onError={(e) => e.target.src = noImage} // ✅ 이미지 로딩 실패 시 noImage로 대체
127+
onError={(e) => e.target.src = noImage}
128128
/>
129129
<ScrapIcon
130130
src={bookmarks[index] ? bookmarkFilledIcon : bookmarkIcon}

src/styles/components/SearchListItemStyle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const CardBackground = styled.div`
2323
position: relative;
2424
width: 105%;
2525
height: 100%;
26-
background-image: url("../../src/assets/icons/Union.svg");
26+
background-image: url("../../src/assets/icons/Union.png");
2727
background-size: contain;
2828
background-repeat: no-repeat;
2929
background-position: center;

0 commit comments

Comments
 (0)