-
+
+
)
}
diff --git a/app/(route)/mypage/page.tsx b/app/(route)/mypage/page.tsx
index f2644c4..f2d2ac8 100644
--- a/app/(route)/mypage/page.tsx
+++ b/app/(route)/mypage/page.tsx
@@ -1,13 +1,16 @@
+'use client'
+
import Nav from '@/app/_common/nav'
import Title from '@/app/_common/text/title'
import IdeaCard from './_components/ideaCard'
import S from './mypage.module.css'
+import { Suspense } from 'react'
//TODO: 사용자 명, 아이디어 검증 수가 들어갑니다.
//TODO: 완료된 아이디어, 입력 전 아이디어를 불러옵니다.(get)
function Mypage() {
return (
- <>
+ 로딩중...}>
@@ -24,7 +27,7 @@ function Mypage() {
- >
+
)
}
diff --git a/app/(route)/toolDetail/[toolId]/page.tsx b/app/(route)/toolDetail/[toolId]/page.tsx
index 5db4467..b8e86fe 100644
--- a/app/(route)/toolDetail/[toolId]/page.tsx
+++ b/app/(route)/toolDetail/[toolId]/page.tsx
@@ -3,9 +3,8 @@
import Modal from '@/app/_common/modal'
import Nav from '@/app/_common/nav'
import Title from '@/app/_common/text/title'
-import { useState } from 'react'
+import { Suspense, useState } from 'react'
import S from './toolDetail.module.css'
-import Link from 'next/link'
import { useParams } from 'next/navigation'
import { useQuery } from '@tanstack/react-query'
import axios, { AxiosResponse } from 'axios'
@@ -30,91 +29,93 @@ function ToolDetail() {
const resData = data?.data.data.tool[Number(toolId)]
return (
-