mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Addressing @gnoff 's comments from #45923 * Only freezing for the parentMetadata `argument` * Group dev specific code in one place for less branches and better DEC * Concurrently run the metadata resolving promises Fix title merging: should use the parent layout instead of adjacent layout
11 lines
183 B
TypeScript
11 lines
183 B
TypeScript
export default function Layout(props) {
|
|
return props.children
|
|
}
|
|
|
|
export const metadata = {
|
|
title: {
|
|
template: '%s | Extra Layout',
|
|
default: 'extra layout default',
|
|
},
|
|
}
|