From ea3ad8bdc03048205351245a791b2f43fc2d49ad Mon Sep 17 00:00:00 2001 From: 03hoho03 Date: Mon, 8 Apr 2024 20:50:36 +0900 Subject: [PATCH] =?UTF-8?q?!!fix=20suspense=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(route)/main/page.tsx | 99 +++++++------- app/(route)/mypage/page.tsx | 5 +- app/(route)/toolDetail/[toolId]/page.tsx | 157 ++++++++++++----------- 3 files changed, 133 insertions(+), 128 deletions(-) diff --git a/app/(route)/main/page.tsx b/app/(route)/main/page.tsx index 6c4b5ae..bb82b77 100644 --- a/app/(route)/main/page.tsx +++ b/app/(route)/main/page.tsx @@ -12,6 +12,7 @@ import Title from '../../_common/text/title' import Search from '../../_components/search' import { Root, Tool } from '../../_constants/toolcard' import S from './page.module.css' +import { Suspense } from 'react' //TODO: 주석처리 사항들에 데이터 가져오기 function Main() { @@ -27,58 +28,60 @@ function Main() { const resData = data?.data.data.tool return ( -
-