From b9fd45bd8c33f1b3ac402e5f025dbb87f6445a62 Mon Sep 17 00:00:00 2001 From: LEEDOYI Date: Tue, 27 Aug 2024 19:21:32 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[fix/#58]:=EC=A0=80=EC=9E=A5=EB=B2=84?= =?UTF-8?q?=ED=8A=BC=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ranking/fullRankingList.tsx | 2 +- components/study/SubjectSelectForm.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/ranking/fullRankingList.tsx b/components/ranking/fullRankingList.tsx index 0915ecd..932400d 100644 --- a/components/ranking/fullRankingList.tsx +++ b/components/ranking/fullRankingList.tsx @@ -62,7 +62,7 @@ export default function FullRankingList({ rankings, currentUser, activeTab, load {allRankings.map((student) => ( - {student.rank} + {currentUser && student.id === currentUser.id ? '-' : student.rank} {student.image && ( {`${student.name} diff --git a/components/study/SubjectSelectForm.tsx b/components/study/SubjectSelectForm.tsx index 48f921f..c863f82 100644 --- a/components/study/SubjectSelectForm.tsx +++ b/components/study/SubjectSelectForm.tsx @@ -47,12 +47,12 @@ export default function SubjectSelectForm({ onEditClick, onSaveClick }: SubjectS ))} - +
- - */} +
From 14c0e5fd67be34af0a9c513f0a858e6b80a446a6 Mon Sep 17 00:00:00 2001 From: LEEDOYI Date: Tue, 27 Aug 2024 19:24:12 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[fix/#58]:=EC=A0=80=EC=9E=A5=EB=B2=84?= =?UTF-8?q?=ED=8A=BC=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/subjectFormApi.ts | 2 +- components/study/SubjectSelectForm.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/subjectFormApi.ts b/api/subjectFormApi.ts index 5704a07..282b7dd 100644 --- a/api/subjectFormApi.ts +++ b/api/subjectFormApi.ts @@ -62,4 +62,4 @@ export const getSubjectEditList = async (): Promise => { return response; }; -// 선택된 과목명 get?? \ No newline at end of file +// 선택된 과목명 get?? diff --git a/components/study/SubjectSelectForm.tsx b/components/study/SubjectSelectForm.tsx index c863f82..e836cc4 100644 --- a/components/study/SubjectSelectForm.tsx +++ b/components/study/SubjectSelectForm.tsx @@ -47,7 +47,7 @@ export default function SubjectSelectForm({ onEditClick, onSaveClick }: SubjectS ))} - +
{/*