From 903b6762aef29a3ecb15b87b449d988efc699fa1 Mon Sep 17 00:00:00 2001 From: seungju Date: Thu, 18 Apr 2024 22:30:40 +0900 Subject: [PATCH] fix: private-study-score error --- modals/study/StudyAttendCheckModal.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modals/study/StudyAttendCheckModal.tsx b/modals/study/StudyAttendCheckModal.tsx index d529e703c..107fff15e 100644 --- a/modals/study/StudyAttendCheckModal.tsx +++ b/modals/study/StudyAttendCheckModal.tsx @@ -77,7 +77,9 @@ function StudyAttendCheckModal({ setIsModal }: IStudyAttendCheckModal) { getAlphabet({ alphabet }); setTransferAlphabet(alphabet); } - const pointObj = POINT_SYSTEM_PLUS.STUDY_ATTEND_CHECK; + const pointObj = isPrivate + ? POINT_SYSTEM_PLUS.STUDY_PRIVATE_ATTEND + : POINT_SYSTEM_PLUS.STUDY_ATTEND_CHECK; getAboutPoint(pointObj); const studyVoteInfo = getMyStudyVoteInfo(myStudy, session?.user.uid);