generated from muhtadeetaron/nextjs-template
fix(exam): fix pretest screen start exam button
This commit is contained in:
@ -32,7 +32,6 @@ export default function PaperScreen() {
|
||||
method: "GET",
|
||||
});
|
||||
const fetchedQuestionData: Mock[] = await questionResponse.json();
|
||||
console.log(fetchedQuestionData[0]?.id);
|
||||
setQuestions(fetchedQuestionData);
|
||||
} catch (error) {
|
||||
setErrorMsg(error instanceof Error ? error.message : "An error occurred");
|
||||
@ -93,6 +92,8 @@ export default function PaperScreen() {
|
||||
displayTabTitle={null}
|
||||
displayUser={false}
|
||||
displaySubject={name}
|
||||
image={undefined}
|
||||
examDuration={undefined}
|
||||
/>
|
||||
<div className="mx-10 pt-10 overflow-y-auto">
|
||||
<div className="border border-[#c0dafc] flex flex-col gap-4 w-full rounded-[25px] p-4">
|
||||
|
||||
Reference in New Issue
Block a user