diff options
| -rw-r--r-- | frontend/app/routes/dashboard.tsx | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/frontend/app/routes/dashboard.tsx b/frontend/app/routes/dashboard.tsx index 907a031..407dda6 100644 --- a/frontend/app/routes/dashboard.tsx +++ b/frontend/app/routes/dashboard.tsx @@ -12,8 +12,8 @@ export default function Dashboard() { const user = useLoaderData<typeof loader>()!; return ( - <div className="min-h-screen bg-gray-100 p-8"> - <div className="bg-white p-6 rounded shadow-md max-w-4xl mx-auto"> + <div className="min-h-screen p-8"> + <div className="p-6 rounded shadow-md max-w-4xl mx-auto"> <h1 className="text-3xl font-bold mb-4"> {user.username}{" "} {user.isAdmin && <span className="text-red-500 text-lg">admin</span>} @@ -24,15 +24,6 @@ export default function Dashboard() { <li>Name: {user.displayName}</li> </ul> </div> - <h2 className="text-2xl font-semibold mb-2">Team</h2> - <div className="mb-6"> - <ul className="list-disc list-inside"> - <li>Name: {user.displayName}</li> - <li> - Members: {user.displayName} ({user.username}) - </li> - </ul> - </div> <h2 className="text-2xl font-semibold mb-2">Game</h2> <div> <ul className="list-disc list-inside"> |
