implemented inital nextAuth logic
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
'use client';
|
||||
|
||||
import { useSession } from 'next-auth/react';
|
||||
|
||||
export default function Home() {
|
||||
const { data: session, status } = useSession();
|
||||
console.log(session, status);
|
||||
return (
|
||||
<div>
|
||||
<h1 className="text-5xl">Hub</h1>
|
||||
|
||||
Reference in New Issue
Block a user