Files
Jiachi LiuandGitHub 51ffc255e1 [metadata] remove the duplicate metadata in the error boundary (#76791)
### What 

Those metadata were added into error boundaries but they're actually duplicated, we already have the actual metadata in the page and the metadata outlet can trigger the error boundary. The metadata element in the error boundary is not necessary.
2025-03-05 08:31:06 +01:00

21 lines
299 B
TypeScript

export default function Layout({
children,
slot,
}: {
children: React.ReactNode
slot: React.ReactNode
}) {
return (
<html lang="en" className="layout">
<body>
{children}
{slot}
</body>
</html>
)
}
export const metadata = {
title: 'layout title',
}