From a0b56c0e957292457a51fdddcdc3b5b8a2d295f4 Mon Sep 17 00:00:00 2001 From: gahyuun Date: Tue, 14 May 2024 13:07:59 +0900 Subject: [PATCH 1/7] feat: implement user credit result skeleton --- app/(sub-page)/my/components/my-result-container.tsx | 9 ++++++--- .../user-credit-result/user-credit-result-skeleton.tsx | 6 ++++++ .../user/{ => user-credit-result}/user-credit-result.tsx | 0 app/ui/view/atom/skeleton.tsx | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 app/ui/user/user-credit-result/user-credit-result-skeleton.tsx rename app/ui/user/{ => user-credit-result}/user-credit-result.tsx (100%) diff --git a/app/(sub-page)/my/components/my-result-container.tsx b/app/(sub-page)/my/components/my-result-container.tsx index fbe77272..fe37568b 100644 --- a/app/(sub-page)/my/components/my-result-container.tsx +++ b/app/(sub-page)/my/components/my-result-container.tsx @@ -1,13 +1,16 @@ -import UserCreditResult from '@/app/ui/user/user-credit-result'; +import UserCreditResult from '@/app/ui/user/user-credit-result/user-credit-result'; +import UserCreditResultSkeleton from '@/app/ui/user/user-credit-result/user-credit-result-skeleton'; import Button from '@/app/ui/view/atom/button/button'; import Link from 'next/link'; -import React from 'react'; +import React, { Suspense } from 'react'; export default function MyResultContainer() { return (

마이페이지

- + }> + +