You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
442 B

import EnterExam from "./desktop";
import { useParams } from "react-router-dom";
// import MobileEnterExam from "../../component/mobile/azmoon-list/M_EnterExam";
const ENTER_EXAM = () => {
const { id } = useParams();
return (
<div className="ENTER_EXAM">
{window.innerWidth > 1000 && <EnterExam ID={id} />}
{/* {window.innerWidth < 1000 && <MobileEnterExam ID={id} />} */}
</div>
);
};
export default ENTER_EXAM;