Files
Jiachi LiuandGitHub 15aa25f27a Refactor freezing metadata while resolving and fix title merging (#45965)
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
2023-02-16 17:02:39 -08:00

11 lines
186 B
TypeScript

export default function Layout(props) {
return props.children
}
export const metadata = {
title: {
template: '%s | Layout',
default: 'title template layout default',
},
}