Merge branch 'feature/ExamGenRework' of https://bitbucket.org/ecropdev/ielts-ui into feature/ExamGenRework
This commit is contained in:
@@ -30,9 +30,7 @@ interface Props {
|
||||
hideSidebar?: boolean
|
||||
}
|
||||
|
||||
const ExamPage: React.FC<Props> = ({ page, user, destination = "/exam", hideSidebar = false }) => {
|
||||
const router = useRouter();
|
||||
|
||||
export default function ExamPage({ page, user, destination = "/", hideSidebar = false }: Props) {
|
||||
const [variant, setVariant] = useState<Variant>("full");
|
||||
const [avoidRepeated, setAvoidRepeated] = useState(false);
|
||||
const [hasBeenUploaded, setHasBeenUploaded] = useState(false);
|
||||
|
||||
Reference in New Issue
Block a user