fix: useTeacherQuizsetDetail 훅 이름 수정
This commit is contained in:
parent
37e7ba40f8
commit
e07f97fd83
@ -1,4 +1,4 @@
|
||||
import { useQuizsetDetail } from '../../hooks/api/useTeacherQuizsetDetail';
|
||||
import { useTeacherQuizsetDetail } from '../../hooks/api/useTeacherQuizsetDetail';
|
||||
import { useParams, useNavigate } from 'react-router-dom';
|
||||
import { QuizsetDetail } from '../../components/QuizsetDetail';
|
||||
import { useQuizsetDelete } from '../../hooks/api/useQuizsetDelete';
|
||||
@ -7,7 +7,7 @@ export default function QuizsetDetailPage() {
|
||||
const navigate = useNavigate();
|
||||
const { quizsetId } = useParams();
|
||||
const { quizsetDelete } = useQuizsetDelete();
|
||||
const { data } = useQuizsetDetail(quizsetId);
|
||||
const { data } = useTeacherQuizsetDetail(quizsetId);
|
||||
const quizset = data.data;
|
||||
console.log(quizset);
|
||||
const handleEdit = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user