From 082c1dc585f3d2be38ca8c288827da858932ee9a Mon Sep 17 00:00:00 2001 From: Felipe Cardoso Date: Tue, 11 Mar 2025 06:57:55 +0100 Subject: [PATCH] Remove unused DashboardPage component from the codebase. This component was no longer in use and has been deleted to clean up the codebase. Its removal helps maintain clarity and reduces unnecessary clutter in the frontend directory. --- .../app/(main)/dashboard/events/[id]/page.tsx | 58 ------------------- 1 file changed, 58 deletions(-) delete mode 100644 frontend/src/app/(main)/dashboard/events/[id]/page.tsx diff --git a/frontend/src/app/(main)/dashboard/events/[id]/page.tsx b/frontend/src/app/(main)/dashboard/events/[id]/page.tsx deleted file mode 100644 index ad7a18b..0000000 --- a/frontend/src/app/(main)/dashboard/events/[id]/page.tsx +++ /dev/null @@ -1,58 +0,0 @@ -// src/app/(main)/dashboard/page.tsx -"use client"; - -import { useAuth } from "@/context/auth-context"; -import Navbar from "@/components/layout/navbar"; - -export default function DashboardPage() { - const { user, isLoading } = useAuth(); - - // Show loading state - if (isLoading) { - return ( -
-
-
-

Loading...

-
-
- ); - } - - return ( - <> - -
-
-

Dashboard

- -
-

- Welcome, {user?.first_name || "User"}! -

-

- You are now logged in to EventSpace. -

- -
-

Your Events

-
-

- No events yet -

- -
-
-
-
-
- - ); -}