
add new hooks for fetching QuizCRQuestions and categories, update related components to use the new hooks, and refactor SelectCategory page to use the new API ```
16 lines
268 B
TypeScript
16 lines
268 B
TypeScript
// abonded
|
|
interface IQuestionMeta {
|
|
question_idx: number;
|
|
question_fh: string;
|
|
question_sh: string;
|
|
modal_ans: string;
|
|
options: string[];
|
|
}
|
|
|
|
interface IQuestionJson {
|
|
question_fh: string;
|
|
question_sh: string;
|
|
modal_ans: string;
|
|
options: string[];
|
|
}
|