From 217a7fd9c12f8076984015a0f3941c4656720675 Mon Sep 17 00:00:00 2001 From: cadetjer Date: Wed, 13 Mar 2024 20:12:37 -0400 Subject: [PATCH] color change. still need breadcrumbs --- src/Kanbas/Dashboard/index.tsx | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/src/Kanbas/Dashboard/index.tsx b/src/Kanbas/Dashboard/index.tsx index 5660294..11a3440 100644 --- a/src/Kanbas/Dashboard/index.tsx +++ b/src/Kanbas/Dashboard/index.tsx @@ -37,35 +37,6 @@ function Dashboard( ) { - // const [courses, setCourses] = useState(db.courses); - // const [course, setCourse] = useState({ - // _id: "0", name: "New Course", number: "New Number", - // startDate: "2023-09-10", endDate: "2023-12-15", - // image: "/images/reactjs.jpg" - // }); - // const addNewCourse = () => { - // const newCourse = { - // ...course, - // _id: new Date().getTime().toString() - // }; - // setCourses([...courses, { ...course, ...newCourse }]); - // }; - // const deleteCourse = (courseId: string) => { - // setCourses(courses.filter((course) => course._id !== courseId)); - // }; - // const updateCourse = () => { - // setCourses( - // courses.map((c) => { - // if (c._id === course._id) { - // return course; - // } else { - // return c; - // } - // }) - // ); - // }; - - return (
@@ -82,7 +53,7 @@ function Dashboard( -