From ece427881b4b04d9ed18a0d5f74e276150a15e96 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sun, 17 Nov 2024 14:07:58 -0800 Subject: [PATCH] Remove unnecessary console.logs --- src/components/AdvertiseForm.tsx | 3 --- src/components/Course/QuizView.tsx | 2 -- src/components/TopicDetail/TopicProgressButton.tsx | 1 - 3 files changed, 6 deletions(-) diff --git a/src/components/AdvertiseForm.tsx b/src/components/AdvertiseForm.tsx index 7cd6faa0a..36d132296 100644 --- a/src/components/AdvertiseForm.tsx +++ b/src/components/AdvertiseForm.tsx @@ -86,9 +86,6 @@ export function AdvertiseForm() { pageProgressMessage.set('Please wait'); - // Placeholder function to send data - console.log('Form data:', formData); - const { response, error } = await httpPost( `${import.meta.env.PUBLIC_API_URL}/v1-advertise`, formData, diff --git a/src/components/Course/QuizView.tsx b/src/components/Course/QuizView.tsx index 17e58cddc..ef70862eb 100644 --- a/src/components/Course/QuizView.tsx +++ b/src/components/Course/QuizView.tsx @@ -134,8 +134,6 @@ export function QuizItem(props: QuizItemProps) { isAttempted && options.some((item) => item.status === 'wrong'); const hasCorrectAnswer = isAttempted && !hasWrongAnswer; - console.log(options); - return (
{ - console.log(progress); if (progress === 'pending') { onClose(); return;