show admin student for testing

This commit is contained in:
Om Lanke
2025-06-25 15:40:52 +05:30
parent 2b777df5e2
commit 7645889297
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ export default async function Page() {
return (
<div className="flex items-center justify-center min-h-svh">
<div className="flex flex-col items-center justify-center gap-4">
<h1 className="text-2xl font-bold">Hello admins</h1>
<h1 className="text-2xl font-bold">Hello admin {session?.user?.name}</h1>
{!session?.user && <Login logIn={logIn} />}
<Studs action={getStudents} logOut={logOut} />
</div>