fix(exam): fix pretest screen start exam button

This commit is contained in:
shafin-r
2025-07-07 21:01:11 +06:00
parent 22eb8285ec
commit d42a42a8d1
10 changed files with 122 additions and 128 deletions

View File

@ -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">