mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Reverts the revert of #95878. This failed on `main` due to React bugs (https://github.com/react/react/pull/37061?) which are fixed now.
13 lines
221 B
TypeScript
13 lines
221 B
TypeScript
import { connection } from 'next/server'
|
|
|
|
export default async function layout({ children }) {
|
|
await connection()
|
|
return children
|
|
}
|
|
|
|
export async function generateMetadata() {
|
|
return {
|
|
keywords: 'parent',
|
|
}
|
|
}
|