From cd6c8faddd2c67ac203cefea639cf28d337375e5 Mon Sep 17 00:00:00 2001 From: kimnamheeee Date: Sat, 7 Feb 2026 15:08:56 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(story):=20use=20default=20pr?= =?UTF-8?q?ofile=20image=20when=20imageurl=20is=20null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/story-viewer/ui/StoryViewer.tsx | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/features/story-viewer/ui/StoryViewer.tsx b/src/features/story-viewer/ui/StoryViewer.tsx index ac0c38a..297b094 100644 --- a/src/features/story-viewer/ui/StoryViewer.tsx +++ b/src/features/story-viewer/ui/StoryViewer.tsx @@ -17,6 +17,7 @@ import ReportModal from '@/components/post/ReportModal' import AccountInfoModal from '@/components/post/AccountInfoModal' import { instance } from '@/shared/api/ky' import { useCurrentUser } from '@/shared/auth/useCurrentUser' +import { DefaultProfileImage } from '@/shared/ui/default-profile-image' import instagramLogo from '@/assets/instagram-black-logo.png' interface StoryViewerProps { @@ -209,11 +210,17 @@ export function StoryViewer({ params={{ userId: String(viewerUser.userId) }} className={STORY_VIEWER_UI.STYLES.USER_SECTION} > - + {viewerUser.profileImageUrl ? ( + + ) : ( + + )}
{viewerUser.nickname}