From 8b8702070ae24c5361f76fa5e1c5ad34a57601f5 Mon Sep 17 00:00:00 2001 From: AmirAgassi <33383085+AmirAgassi@users.noreply.github.com> Date: Sun, 24 Nov 2024 04:07:41 -0500 Subject: [PATCH] whoops --- frontend/src/components/CourseView.jsx | 58 -------------------------- 1 file changed, 58 deletions(-) diff --git a/frontend/src/components/CourseView.jsx b/frontend/src/components/CourseView.jsx index e175418..3904f1a 100644 --- a/frontend/src/components/CourseView.jsx +++ b/frontend/src/components/CourseView.jsx @@ -334,64 +334,6 @@ export default function CourseView() { )} - {/* quiz modal */} - {/* main content area with pagination */} -
- {currentSection ? ( -
-

{currentSection.title}

- - {/* page content with markdown and latex rendering */} - {currentSection.pages && currentSection.pages[currentPage] && ( -
- - {currentSection.pages[currentPage].content} - -
- )} - - {/* pagination controls */} -
- - - - Page {currentPage + 1} of {currentSection.pages?.length || 1} - - - -
- - {showQuiz && quiz && ( - setShowQuiz(false)} - onComplete={handleQuizComplete} - /> - )} -
- ) : ( -
- Select a section to view its content -
- )} -
- {/* Add QuizResults modal */} {quizResults && (