From a7cd94f878c31c066fa1cc5601b735629709182a Mon Sep 17 00:00:00 2001 From: hyuna Date: Fri, 9 Aug 2024 20:14:11 +0900 Subject: [PATCH] =?UTF-8?q?chore=20::=20=EA=B5=90=EC=8B=A4=EC=9D=B4?= =?UTF-8?q?=EB=8F=99=20=EC=9D=B4=EC=A0=84=20=EC=9C=84=EC=B9=98=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/type.ts | 1 + src/app/classChange/page.tsx | 2 +- src/app/classChange/status/page.tsx | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/api/type.ts b/src/api/type.ts index 9fe5b00..097a605 100644 --- a/src/api/type.ts +++ b/src/api/type.ts @@ -105,6 +105,7 @@ export interface changeClass { grade: number; id: string; num: number; + move: string; user_id: string; username: string; } diff --git a/src/app/classChange/page.tsx b/src/app/classChange/page.tsx index 191735b..c851c09 100644 --- a/src/app/classChange/page.tsx +++ b/src/app/classChange/page.tsx @@ -144,7 +144,7 @@ const ClassChange = () => { type="accept" key={index} onClick={() => handleAcceptListClick(item.id, item.username)} - prevClass={`${item.grade}-${item.class_num}`} + prevClass={item.move} nextClass={`${item.classroom_name}`} student={getStudentString(item)} /> diff --git a/src/app/classChange/status/page.tsx b/src/app/classChange/status/page.tsx index a8d51fd..bd2036a 100644 --- a/src/app/classChange/status/page.tsx +++ b/src/app/classChange/status/page.tsx @@ -53,7 +53,7 @@ const ClassChangeOk = () => { {floorData?.map((item, index) => (