Skip to content

Commit a5f6f9c

Browse files
committed
hotfix: thumbnail 관련 오류 해결
유저 프로필 이미지가 없을 경우 발생하는 오류로 추정
1 parent 57b83c6 commit a5f6f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/components/Header/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const Header = () => {
9595
width={35}
9696
height={35}
9797
className="rounded-full"
98-
src={profiles?.profile.thumbnail || '/profile.jpg'}
98+
src={profiles?.profile?.thumbnail || '/profile.jpg'}
9999
alt=""
100100
/>
101101
<span className={`${textStyle} text-TEXT-ALT`} id="profile">

0 commit comments

Comments
 (0)