fix: resizeable

feat/course
Arik Chakma 4 weeks ago
parent cf26debab4
commit 0683ad0fc5
  1. 2
      src/components/Course/CourseView.tsx

@ -59,7 +59,7 @@ export function CourseView(props: CourseViewProps) {
{lessonType !== 'lesson' && ( {lessonType !== 'lesson' && (
<> <>
<ResizableHandle withHandle={true} /> {lessonType !== 'quiz' && <ResizableHandle withHandle={true} />}
<ResizablePanel <ResizablePanel
defaultSize={lessonType === 'quiz' ? 100 : 40} defaultSize={lessonType === 'quiz' ? 100 : 40}

Loading…
Cancel
Save