Skip to content

Commit

Permalink
fix: 아이콘 깨짐 문제
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeyeonan committed Sep 25, 2023
1 parent 77d9b9a commit 238d544
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Mypage/CommentListBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const CommentListBox = (
<TextContainer>
<Typo.b4>{children}</Typo.b4>
<Row gap={5}>
<img src={`/img/${icon}.svg`} />
<img src={process.env.PUBLIC_URL + `/img/${icon}.svg`} />
<Typo.b4 color={Palette.Gray4}>{title}</Typo.b4>
</Row>
<Typo.s2 color={Palette.Gray4}>{date}</Typo.s2>
Expand Down
4 changes: 3 additions & 1 deletion src/components/Mypage/SubMenuBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ export const SubMenuBox = ({
style={{ width: '100%' }}
>
<Row gap={19}>
<img src={`/img/MypageSubmenuIcons/${icon}.svg`}></img>
<img
src={process.env.PUBLIC_URL + `/img/MypageSubmenuIcons/${icon}.svg`}
></img>
<Typo.b1>{children}</Typo.b1>
</Row>
<Row gap={8}>
Expand Down

0 comments on commit 238d544

Please sign in to comment.