From 603b8d80141f4ce3d7dd7748dbe98826fdebc8eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EA=B8=B0=EC=98=81?= Date: Mon, 12 Aug 2024 13:25:41 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=A6=AC=ED=8F=AC=ED=8A=B8=20=EC=83=81?= =?UTF-8?q?=EC=84=B8=ED=8E=98=EC=9D=B4=EC=A7=80=20=EB=92=A4=EB=A1=9C?= =?UTF-8?q?=EA=B0=80=EA=B8=B0=20=ED=95=99=EC=83=9D=20/=20=EA=B5=90?= =?UTF-8?q?=EC=82=AC=20=EB=B3=84=EB=8F=84=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StudentReportDetailPage.jsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/StudentReportDetailPage/StudentReportDetailPage.jsx b/frontend/src/pages/StudentReportDetailPage/StudentReportDetailPage.jsx index 2ac91e4..3425bd3 100644 --- a/frontend/src/pages/StudentReportDetailPage/StudentReportDetailPage.jsx +++ b/frontend/src/pages/StudentReportDetailPage/StudentReportDetailPage.jsx @@ -3,6 +3,7 @@ import styles from './StudentReportDetailPage.module.css'; import BackIcon from '/src/assets/icons/back.svg?react'; import { useStudentReportDetail } from '../../hooks/api/useStudentReportDetail'; import { QuizDetailCard } from '../../components/QuizForm'; +import useBoundStore from '../../store'; export default function StudentReportDetailPage() { const { lectureId, reportId } = useParams(); @@ -10,11 +11,18 @@ export default function StudentReportDetailPage() { const report = data.data; const { allCount, correctCount, quizzes, title } = report; const score = Math.round((100 * correctCount) / allCount); + const userType = useBoundStore((state) => state.userType); + console.log(userType); + return (