Updated a bit more of the way the codes work

This commit is contained in:
Tiago Ribeiro
2023-10-10 21:17:46 +01:00
parent 0c9a49a9c3
commit 1aa4f0ddfd
9 changed files with 73 additions and 61 deletions

View File

@@ -18,7 +18,7 @@ export const getServerSideProps = (context: any) => {
const {code} = context.query;
return {
props: {code},
props: {code: code || null},
};
};