From 9de3d31096184fe230c87f5059ddc4da6c53376d Mon Sep 17 00:00:00 2001 From: minhd-vu Date: Thu, 8 Feb 2024 16:45:08 -0500 Subject: [PATCH] move components out --- nextjs/{app => }/components/login-btn.tsx | 2 +- nextjs/{app => }/components/session-provider.tsx | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename nextjs/{app => }/components/login-btn.tsx (88%) rename nextjs/{app => }/components/session-provider.tsx (100%) diff --git a/nextjs/app/components/login-btn.tsx b/nextjs/components/login-btn.tsx similarity index 88% rename from nextjs/app/components/login-btn.tsx rename to nextjs/components/login-btn.tsx index 6212d21..db6137b 100644 --- a/nextjs/app/components/login-btn.tsx +++ b/nextjs/components/login-btn.tsx @@ -7,7 +7,7 @@ export default function LoginButton() { if (session) { return ( <> - Signed in as {session?.user?.email}
+ Signed in as {JSON.stringify(session)}
); diff --git a/nextjs/app/components/session-provider.tsx b/nextjs/components/session-provider.tsx similarity index 100% rename from nextjs/app/components/session-provider.tsx rename to nextjs/components/session-provider.tsx