style: enforce prop immutability in new next app (#58845)

- fixes #58844

Co-authored-by: Steven <steven@ceriously.com>
This commit is contained in:
Hamir Mahal 2024-01-05 06:55:27 -08:00 committed by GitHub
parent ff058d64a5
commit f60c609bdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -11,9 +11,9 @@ export const metadata: Metadata = {
export default function RootLayout({
children,
}: {
}: Readonly<{
children: React.ReactNode
}) {
}>) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>

View file

@ -11,9 +11,9 @@ export const metadata: Metadata = {
export default function RootLayout({
children,
}: {
}: Readonly<{
children: React.ReactNode
}) {
}>) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>