@@ -21,25 +21,12 @@ import {
2121 SelectContent ,
2222 SelectItem ,
2323} from "@/components/ui/select" ;
24+ import { DepartmentEnum } from "@/dto/Programs" ;
2425
2526const hiddenColumns = [ "id" ] ;
2627
2728const defaultForm = { branch : "" , course : "" , year : "" , department : "" } ;
2829
29- export enum DepartmentEnum {
30- ASTRONOMY_ASTROPHYSICS_AND_SPACE_ENGINEERING = "Astronomy, Astrophysics and Space Engineering" ,
31- BIOSCIENCES_AND_BIOMEDICAL_ENGINEERING = "Biosciences and Biomedical Engineering" ,
32- CHEMISTRY = "Chemistry" ,
33- CIVIL_ENGINEERING = "Civil Engineering" ,
34- COMPUTER_SCIENCE_AND_ENGINEERING = "Computer Science and Engineering" ,
35- ELECTRICAL_ENGINEERING = "Electrical Engineering" ,
36- HUMANITIES_AND_SOCIAL_SCIENCES = "Humanities and Social Sciences" ,
37- MATHEMATICS = "Mathematics" ,
38- MECHANICAL_ENGINEERING = "Mechanical Engineering" ,
39- METALLURGICAL_ENGINEERING_AND_MATERIALS_SCIENCE = "Metallurgical Engineering and Materials Science" ,
40- PHYSICS = "Physics" ,
41- }
42-
4330const ProgramsPage = ( ) => {
4431 const [ loading , setLoading ] = useState ( true ) ;
4532 const [ programs , setPrograms ] = useState < Program [ ] > ( [ ] ) ;
0 commit comments