diff --git a/app/admin/page.tsx b/app/admin/page.tsx index 482a547..d9355dc 100644 --- a/app/admin/page.tsx +++ b/app/admin/page.tsx @@ -94,8 +94,7 @@ export default function AdminPage() { return cellValue; } }, []); - console.log(status); - console.log(session?.user); + if (status === "authenticated") { if (session.user?.role === "admin") { return ( diff --git a/app/page.tsx b/app/page.tsx index 744fbb1..ce6f466 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -125,7 +125,7 @@ async function Home(props: any) { -
+
diff --git a/components/Calendar.tsx b/components/Calendar.tsx index 9e3c35a..83b44df 100644 --- a/components/Calendar.tsx +++ b/components/Calendar.tsx @@ -42,6 +42,7 @@ export default function Calendar(props: any) {
{eventInfo.event.extendedProps.instructor.replace("'", "'")}
+ ); } diff --git a/components/CreatePlan.tsx b/components/CreatePlan.tsx index e23bfc0..f19f2db 100644 --- a/components/CreatePlan.tsx +++ b/components/CreatePlan.tsx @@ -145,11 +145,13 @@ export default function CreatePlan(props: any) { /> +
{course.subject} {""} {course.courseNumber}
{course.courseTitle.replace(/&/g, "&")}
+