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 (