Unverified Commit 61b4a740 authored by Loco's avatar Loco Committed by GitHub

fix: unauthorized.mdx (#74799)

Co-authored-by: 's avatarJiachi Liu <inbox@huozhi.im>
parent 98da00e9
...@@ -66,7 +66,7 @@ export default async function DashboardPage() { ...@@ -66,7 +66,7 @@ export default async function DashboardPage() {
```jsx filename="app/dashboard/page.js" switcher ```jsx filename="app/dashboard/page.js" switcher
import { verifySession } from '@/app/lib/dal' import { verifySession } from '@/app/lib/dal'
import { unauthorized } from 'next/server' import { unauthorized } from 'next/navigation'
export default async function DashboardPage() { export default async function DashboardPage() {
const session = await verifySession() const session = await verifySession()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment