+ {user && (
+
,
+ label: "Reading",
+ value: totalExamsByModule(stats, "reading"),
+ },
+ {
+ icon:
,
+ label: "Listening",
+ value: totalExamsByModule(stats, "listening"),
+ },
+ {
+ icon:
,
+ label: "Writing",
+ value: totalExamsByModule(stats, "writing"),
+ },
+ {
+ icon:
,
+ label: "Speaking",
+ value: totalExamsByModule(stats, "speaking"),
+ },
+ ]}
+ />
+ )}
+
About {capitalize(page)}
@@ -119,7 +87,7 @@ export default function Selection({user, page, onStart, disableSelection = false
)}
-
+
toggleModule("reading") : undefined}
className={clsx(
@@ -201,9 +169,9 @@ export default function Selection({user, page, onStart, disableSelection = false
)}
-
+
+
+
+
diff --git a/src/pages/(admin)/BatchCodeGenerator.tsx b/src/pages/(admin)/BatchCodeGenerator.tsx
index 0e079fef..b5c99f9f 100644
--- a/src/pages/(admin)/BatchCodeGenerator.tsx
+++ b/src/pages/(admin)/BatchCodeGenerator.tsx
@@ -110,28 +110,28 @@ export default function BatchCodeGenerator({user}: {user: User}) {
{user && (