From 8cbf56b81a7373dc255302cf9f911707b4143692 Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Tue, 12 Sep 2023 09:25:03 +0100 Subject: [PATCH] Updated the console.logs --- src/components/Solutions/WriteBlanks.tsx | 2 -- src/pages/exercises.tsx | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Solutions/WriteBlanks.tsx b/src/components/Solutions/WriteBlanks.tsx index 3da64b69..401df91c 100644 --- a/src/components/Solutions/WriteBlanks.tsx +++ b/src/components/Solutions/WriteBlanks.tsx @@ -97,8 +97,6 @@ export default function WriteBlanksSolutions({ const userSolution = userSolutions.find((x) => x.id === id); const solution = solutions.find((x) => x.id.toString() === id)!; - console.log(id, userSolution, solution); - return ; })} diff --git a/src/pages/exercises.tsx b/src/pages/exercises.tsx index 7bba71a4..7afaa7a4 100644 --- a/src/pages/exercises.tsx +++ b/src/pages/exercises.tsx @@ -70,6 +70,7 @@ export default function Page() { const {user} = useUser({redirectTo: "/login"}); + useEffect(() => console.log({examId: exam?.id}), [exam]); useEffect(() => setSessionId(uuidv4()), []); useEffect(() => {