Skip to content

Commit 69c25ae

Browse files
bebuslclaude
andcommitted
feat: [FN-249] MyStudyPage 컴포넌트에 스켈레톤 UI 적용
로딩 상태에서 CardGridSkeleton을 사용하여 UX 개선 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 99fb4f5 commit 69c25ae

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

src/features/my-study/components/MyStudyPage.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
mockLikedCardSets,
77
} from "@/shared/mocks/cardsets";
88
import { ThumbnailCard } from "@/shared/components/ThumbnailCard";
9+
import { CardGridSkeleton } from "@/shared/components/skeletons";
910

1011
export const MyStudyPage = () => {
1112
// TODO: 실제 API 연동 시 주석 해제
@@ -81,9 +82,7 @@ export const MyStudyPage = () => {
8182
</div>
8283

8384
{isLoadingBookmarks ? (
84-
<div className="flex justify-center items-center min-h-[200px]">
85-
<div className="text-gray-500">로딩 중...</div>
86-
</div>
85+
<CardGridSkeleton />
8786
) : bookmarksError ? (
8887
<div className="flex justify-center items-center min-h-[200px]">
8988
<div className="text-red-500">
@@ -114,9 +113,7 @@ export const MyStudyPage = () => {
114113
</div>
115114

116115
{isLoadingLikes ? (
117-
<div className="flex justify-center items-center min-h-[200px]">
118-
<div className="text-gray-500">로딩 중...</div>
119-
</div>
116+
<CardGridSkeleton />
120117
) : likesError ? (
121118
<div className="flex justify-center items-center min-h-[200px]">
122119
<div className="text-red-500">

0 commit comments

Comments
 (0)