mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What * Narrow down the metadata base warnings only when there's any relative urls need to be resolved, if there's only absolute urls present, no need to resolve and we don't warn. * Polish the error message, updated from "metadata.metadataBase is not set ..." to "metadataBase property in metadata export is not set ..." ### Why It will be confusing if we're still show metadataBase warning when there's no need to set one, since the social image cards only have absolute urls Closes NEXT-2426
8 lines
117 B
JavaScript
8 lines
117 B
JavaScript
export default function Layout({ children }) {
|
|
return (
|
|
<html>
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|