diff --git a/src/compenents/upload-courseware-button/index.tsx b/src/compenents/upload-courseware-button/index.tsx index 741b1ae..81b2ab4 100644 --- a/src/compenents/upload-courseware-button/index.tsx +++ b/src/compenents/upload-courseware-button/index.tsx @@ -61,6 +61,7 @@ export const UploadCoursewareButton = (props: PropsInterface) => { let extension: any = file.name.split("."); extension = extension[extension.length - 1]; if ( + extension === "rar" || file.type === "application/vnd.openxmlformats-officedocument.wordprocessingml.document" || file.type === "application/msword" ||