From 83ff013c2aff5a51ec090d199eacd3ebfbe92272 Mon Sep 17 00:00:00 2001 From: Legitgoons Date: Thu, 30 May 2024 22:53:21 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20ProfileUser=EC=97=90=20SkeletonProfileU?= =?UTF-8?q?ser=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widgets/profile-user/ui/ProfileUser.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/widgets/profile-user/ui/ProfileUser.tsx b/src/widgets/profile-user/ui/ProfileUser.tsx index 6835105..af9601e 100644 --- a/src/widgets/profile-user/ui/ProfileUser.tsx +++ b/src/widgets/profile-user/ui/ProfileUser.tsx @@ -5,6 +5,7 @@ import { useGetUser } from '../api'; import { ProfileCount } from './ProfileCount'; import './ProfileUser.scss'; import { ProfileUserImage } from './ProfileUserImage'; +import { SkeletonProfileUser } from './SkeletonProfileUser'; interface ProfileUserProps { userId: number; @@ -15,7 +16,12 @@ export const ProfileUser = ({ userId, isOwner }: ProfileUserProps) => { const { data, isLoading, isError, refetchUser } = useGetUser(userId); if (isLoading) { - return
스켈레톤 들어갈곳
; + return ( + <> + + + + ); } if (isError || !data) {