mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This updates our logging to use Error objects to provide stacks to better locate where sync access of Request APIs is happening
9 lines
166 B
TypeScript
9 lines
166 B
TypeScript
export default async function Page({
|
|
params,
|
|
}: {
|
|
params: Promise<{ slug: string }>
|
|
}) {
|
|
const { slug } = await params
|
|
return <h1>Blog Sub Page {slug}</h1>
|
|
}
|