feat(auth): add verification feature in settings

This commit is contained in:
shafin-r
2025-09-09 00:54:06 +06:00
parent 4042e28bf7
commit c3ead879ad
7 changed files with 205 additions and 1 deletions

View File

@ -1,7 +1,7 @@
"use client";
import React, { useEffect, useState } from "react";
import { useRouter, useSearchParams } from "next/navigation";
import { usePathname, useRouter, useSearchParams } from "next/navigation";
import Header from "@/components/Header";
import QuestionItem from "@/components/QuestionItem";
import BackgroundWrapper from "@/components/BackgroundWrapper";
@ -10,6 +10,7 @@ import { useTimerStore } from "@/stores/timerStore";
export default function ExamPage() {
const router = useRouter();
const pathname = usePathname();
const searchParams = useSearchParams();
const test_id = searchParams.get("test_id") || "";
const type = searchParams.get("type") || "";
@ -136,3 +137,6 @@ export default function ExamPage() {
</div>
);
}
function cancelExam() {
throw new Error("Function not implemented.");
}