Skip to content

Commit b7ae0e7

Browse files
committed
fix(aside): 프로필 이미지 null뜨는 오류 수정
1 parent e8cb922 commit b7ae0e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/common/Aside/InfomationBox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const InfomationBox = ({ user, isLogined }: IInfomationBoxProps) => {
2121
<Container>
2222
{isLogined && (
2323
<ImageWithFallback
24-
src={user.profile_image}
24+
src={user.profile_image ?? "/"}
2525
fallbackSrc={defaultProfile}
2626
alt="profile"
2727
width={46}

0 commit comments

Comments
 (0)