From 5decfb098ddb9e50cde9cc71901b82e1ceaed873 Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Sun, 24 Mar 2024 12:28:42 +0000 Subject: [PATCH] Removed the "Correct" and stuff from the Finish for the Writing and Speaking --- src/exams/Finish.tsx | 54 ++++++++++++++++++++++++-------------------- 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/src/exams/Finish.tsx b/src/exams/Finish.tsx index 72190257..e713f6e3 100644 --- a/src/exams/Finish.tsx +++ b/src/exams/Finish.tsx @@ -182,33 +182,37 @@ export default function Finish({user, scores, modules, isLoading, onViewResults} {showLevel(bandScore)} -
-
-
-
- - {(((selectedScore.total - selectedScore.missing) / selectedScore.total) * 100).toFixed(0)}% - - Completion + {!["writing", "speaking"].includes(selectedModule) ? ( +
+
+
+
+ + {(((selectedScore.total - selectedScore.missing) / selectedScore.total) * 100).toFixed(0)}% + + Completion +
+
+
+
+
+ {selectedScore.correct.toString().padStart(2, "0")} + Correct +
+
+
+
+
+ + {(selectedScore.total - selectedScore.correct).toString().padStart(2, "0")} + + Wrong +
-
-
-
- {selectedScore.correct.toString().padStart(2, "0")} - Correct -
-
-
-
-
- - {(selectedScore.total - selectedScore.correct).toString().padStart(2, "0")} - - Wrong -
-
-
+ ) : ( +
+ )}
)}