MCPcopy
hub / github.com/nextauthjs/next-auth / MePage

Function MePage

apps/example-nextjs/pages/me.tsx:4–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import Layout from "../components/layout"
3
4export default function MePage() {
5 const { data } = useSession()
6
7 return (
8 <Layout>
9 <pre>{JSON.stringify(data, null, 2)}</pre>
10 </Layout>
11 )
12}

Callers

nothing calls this directly

Calls 1

useSessionFunction · 0.90

Tested by

no test coverage detected