Updated more of the exam generation

This commit is contained in:
Tiago Ribeiro
2023-11-20 23:30:47 +00:00
parent 4c7e8f56d8
commit cdc8cfe46e
6 changed files with 209 additions and 54 deletions

View File

@@ -18,6 +18,7 @@ import Input from "@/components/Low/Input";
import axios from "axios";
import ReadingGeneration from "./(generation)/ReadingGeneration";
import ListeningGeneration from "./(generation)/ListeningGeneration";
import WritingGeneration from "./(generation)/WritingGeneration";
export const getServerSideProps = withIronSessionSsr(({req, res}) => {
const user = req.session.user;
@@ -112,6 +113,7 @@ export default function Generation() {
</div>
{module === "reading" && <ReadingGeneration />}
{module === "listening" && <ListeningGeneration />}
{module === "writing" && <WritingGeneration />}
</Layout>
)}
</>