Merge branch 'fe/fixQuizHookName' into 'frontend'
[Front-End] fix: useTeacherQuizsetDetail 훅 이름 수정 See merge request s11-webmobile1-sub2/S11P12A701!76
This commit is contained in:
commit
01444ea4e4
@ -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