It works!

This commit is contained in:
Gabriel Brown 2024-08-08 04:36:23 -05:00
parent 18334e25f2
commit 1a50dfee8b

View File

@ -18,11 +18,17 @@ export default async function HomePage() {
</div> </div>
</main> </main>
); );
} else {
const email = session?.user?.email;
return (
<main className="min-h-screen">
<div className="w-full justify-end items-end p-3 flex flex-col">
<Theme_Toggle />
<div className="w-full flex flex-col justify-center items-center">
<h1>Welcome, {email}</h1>
</div>
</div>
</main>
);
} }
return (
<main className="min-h-screen">
<Theme_Toggle />
</main>
);
} }