From b1461d1c0492acf0c2162ede92b66289a4f69b03 Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Thu, 7 Sep 2023 13:06:39 +0100 Subject: [PATCH] Removed unused console.log --- src/components/Solutions/WriteBlanks.tsx | 2 -- src/pages/login.tsx | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/Solutions/WriteBlanks.tsx b/src/components/Solutions/WriteBlanks.tsx index 84ac2317..f30d517b 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(solution, id, userSolution); - return ; })} diff --git a/src/pages/login.tsx b/src/pages/login.tsx index c5cd4dda..c9aad20a 100644 --- a/src/pages/login.tsx +++ b/src/pages/login.tsx @@ -64,7 +64,8 @@ export default function Login() { toast.error("Something went wrong!", {toastId: "server-error"}); } setIsLoading(false); - }); + }) + .finally(() => setIsLoading(false)); }; const sendEmailVerification = () => {