mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
We're incorrectly showing warnings for `viewport` if you manually merge metadata. Found this while fixing #63843 Closes NEXT-2964
12 lines
222 B
JavaScript
12 lines
222 B
JavaScript
export default function Page() {
|
|
return 'merge'
|
|
}
|
|
|
|
export async function generateMetadata(props, parentResolvingMetadata) {
|
|
const parentMetadata = await parentResolvingMetadata
|
|
|
|
return {
|
|
...parentMetadata,
|
|
}
|
|
}
|