diff --git a/nextjs-auth/src/app/page.tsx b/nextjs-auth/src/app/page.tsx index 00d4b21..896cef5 100644 --- a/nextjs-auth/src/app/page.tsx +++ b/nextjs-auth/src/app/page.tsx @@ -11,7 +11,7 @@ export default async function Home({ }) { const session = auth.getSession(); - if (await session.isLoggedIn()) { + if (await session.isSignedIn()) { return ; }