mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This API has experimental modes for build validation but the dev validation is going to be stable in the next release.
11 lines
279 B
TypeScript
11 lines
279 B
TypeScript
import { ReactNode } from 'react'
|
|
import { connection } from 'next/server'
|
|
|
|
export const instant = false
|
|
export const prefetch = 'force-disabled'
|
|
|
|
export default async function Layout({ children }: { children: ReactNode }) {
|
|
await connection()
|
|
return <div>{children}</div>
|
|
}
|