Skip to content

Commit

Permalink
Merge pull request #131 from edgedb/minor-nextjs-example-fix
Browse files Browse the repository at this point in the history
Update isLoggedIn to isSignedIn
  • Loading branch information
diksipav authored Apr 18, 2024
2 parents a6306fc + c62ec6a commit 890d79c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nextjs-auth/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default async function Home({
}) {
const session = auth.getSession();

if (await session.isLoggedIn()) {
if (await session.isSignedIn()) {
return <TodosPage />;
}

Expand Down

0 comments on commit 890d79c

Please sign in to comment.