diff --git a/components/CreateCourse.tsx b/components/CreateCourse.tsx index fbab2a7..bc890a0 100644 --- a/components/CreateCourse.tsx +++ b/components/CreateCourse.tsx @@ -1,12 +1,13 @@ import { useState, useRef } from 'react'; import Button from '@mui/material/Button'; -import TextField from '@mui/material/TextField'; import Dialog from '@mui/material/Dialog'; import DialogActions from '@mui/material/DialogActions'; import DialogContent from '@mui/material/DialogContent'; import DialogContentText from '@mui/material/DialogContentText'; import DialogTitle from '@mui/material/DialogTitle'; import InputLabel from '@mui/material/InputLabel'; +import Stack from '@mui/material/Stack'; +import TextField from '@mui/material/TextField'; export default function CreateCourseDialog({ newCourse }: { newCourse: (name: string, file: File) => void }) { const uploadInputRef = useRef(null); @@ -30,12 +31,23 @@ export default function CreateCourseDialog({ newCourse }: { newCourse: (name: st New Course - To create a new course, please complete this form. - - + + Course name can be read from the imported file by leaving the name field blank. + + + + +