Turned off the ExamGenerator for everyone except me

This commit is contained in:
Tiago Ribeiro
2023-11-16 13:56:37 +00:00
parent dc759a368e
commit 4a51bd7dfa

View File

@@ -62,7 +62,7 @@ export default function Admin() {
{user && (
<Layout user={user} className="gap-6">
<section className="w-full flex -md:flex-col -xl:gap-2 gap-8 justify-between">
{user.type === "developer" ? <ExamGenerator /> : <ExamLoader />}
{user.email === "tiago.ribeiro@ecrop.dev" ? <ExamGenerator /> : <ExamLoader />}
<CodeGenerator user={user} />
<BatchCodeGenerator user={user} />
</section>