From 1a50dfee8b5841b0e5bd5d81f1cfe153fb0491c6 Mon Sep 17 00:00:00 2001 From: gibbyb Date: Thu, 8 Aug 2024 04:36:23 -0500 Subject: [PATCH] It works! --- src/app/page.tsx | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 788c65a..e210f35 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,11 +18,17 @@ export default async function HomePage() { ); + } else { + const email = session?.user?.email; + return ( +
+
+ +
+

Welcome, {email}

+
+
+
+ ); } - return ( -
- - -
- ); }