mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
* chore: dev -> dev/nextjs * chore: move to /examples * chore: move to playgrounds, add dev/sveltekit * Update sync.yml * chore: dev scripts
13 lines
249 B
TypeScript
13 lines
249 B
TypeScript
import { useSession } from "next-auth/react"
|
|
import Layout from "../components/layout"
|
|
|
|
export default function MePage() {
|
|
const { data } = useSession()
|
|
|
|
return (
|
|
<Layout>
|
|
<pre>{JSON.stringify(data, null, 2)}</pre>
|
|
</Layout>
|
|
)
|
|
}
|