Remove unnecessary console.logs

feat/course
Kamran Ahmed 7 days ago
parent 2bdbeefb01
commit ece427881b
  1. 3
      src/components/AdvertiseForm.tsx
  2. 2
      src/components/Course/QuizView.tsx
  3. 1
      src/components/TopicDetail/TopicProgressButton.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,

@ -134,8 +134,6 @@ export function QuizItem(props: QuizItemProps) {
isAttempted && options.some((item) => item.status === 'wrong');
const hasCorrectAnswer = isAttempted && !hasWrongAnswer;
console.log(options);
return (
<div
className={cn('relative rounded-2xl border px-5 py-7 text-black', {

@ -108,7 +108,6 @@ export function TopicProgressButton(props: TopicProgressButtonProps) {
useKeydown(
'r',
() => {
console.log(progress);
if (progress === 'pending') {
onClose();
return;

Loading…
Cancel
Save