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'); pageProgressMessage.set('Please wait');
// Placeholder function to send data
console.log('Form data:', formData);
const { response, error } = await httpPost( const { response, error } = await httpPost(
`${import.meta.env.PUBLIC_API_URL}/v1-advertise`, `${import.meta.env.PUBLIC_API_URL}/v1-advertise`,
formData, formData,

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

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

Loading…
Cancel
Save