Merge branch 'feature/ExamGenRework' of https://bitbucket.org/ecropdev/ielts-ui into feature/ExamGenRework

This commit is contained in:
Carlos-Mesquita
2024-11-25 16:54:24 +00:00

View File

@@ -30,9 +30,7 @@ interface Props {
hideSidebar?: boolean hideSidebar?: boolean
} }
const ExamPage: React.FC<Props> = ({ page, user, destination = "/exam", hideSidebar = false }) => { export default function ExamPage({ page, user, destination = "/", hideSidebar = false }: Props) {
const router = useRouter();
const [variant, setVariant] = useState<Variant>("full"); const [variant, setVariant] = useState<Variant>("full");
const [avoidRepeated, setAvoidRepeated] = useState(false); const [avoidRepeated, setAvoidRepeated] = useState(false);
const [hasBeenUploaded, setHasBeenUploaded] = useState(false); const [hasBeenUploaded, setHasBeenUploaded] = useState(false);