From 29381938e79bad8c75c7d98a9d5e0aed601358c7 Mon Sep 17 00:00:00 2001 From: yougyung Date: Fri, 26 Apr 2024 16:13:13 +0900 Subject: [PATCH] refactor: change to domain component ResultCategoryDetailContainer --- app/(sub-page)/result/page.tsx | 2 +- .../result-category}/result-category-detail-container.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename app/{(sub-page)/result/components => ui/result/result-category}/result-category-detail-container.tsx (88%) diff --git a/app/(sub-page)/result/page.tsx b/app/(sub-page)/result/page.tsx index cf08b01a..a40691ea 100644 --- a/app/(sub-page)/result/page.tsx +++ b/app/(sub-page)/result/page.tsx @@ -4,7 +4,7 @@ import ContentContainer from '@/app/ui/view/atom/content-container'; import { cn } from '@/app/utils/shadcn/utils'; import ResultCategoryDetailContainer, { ResultCategoryDetailSkeleton, -} from './components/result-category-detail-container'; +} from '../../ui/result/result-category/result-category-detail-container'; import { Suspense } from 'react'; interface ResultPageProp { diff --git a/app/(sub-page)/result/components/result-category-detail-container.tsx b/app/ui/result/result-category/result-category-detail-container.tsx similarity index 88% rename from app/(sub-page)/result/components/result-category-detail-container.tsx rename to app/ui/result/result-category/result-category-detail-container.tsx index efe0b838..d4824cd7 100644 --- a/app/(sub-page)/result/components/result-category-detail-container.tsx +++ b/app/ui/result/result-category/result-category-detail-container.tsx @@ -1,7 +1,7 @@ import ResultCategoryDetailContent from '@/app/ui/result/result-category/result-category-detail-content/result-category-detail-content'; import { fetchResultCategoryDetailInfo } from '@/app/business/result/result.query'; import ResultCategoryDetailContentSkeleton from '@/app/ui/result/result-category/result-category-detail-content/result-category-detail-content.skeleton'; -import ResultCategoryDetailDialog from './result-category-detail-dialog'; +import ResultCategoryDetailDialog from '../../../(sub-page)/result/components/result-category-detail-dialog'; export default async function ResultCategoryDetailContainer({ category }: { category: string }) { const data = await fetchResultCategoryDetailInfo(category);