Skip to content

Commit

Permalink
style: enforce prop immutability in new next app (vercel#58845)
Browse files Browse the repository at this point in the history
- fixes vercel#58844

Co-authored-by: Steven <[email protected]>
  • Loading branch information
2 people authored and agustints committed Jan 6, 2024
1 parent 959a015 commit 0a51040
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/create-next-app/templates/app-tw/ts/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions packages/create-next-app/templates/app/ts/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 0a51040

Please sign in to comment.