Skip to content

Commit

Permalink
fix: Makes React props readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelriosoliveira committed Jan 28, 2025
1 parent 010cf2e commit f06d6b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const metadata: Metadata = {
description: 'Trakt clone made with Next.js + TypeScript and the TMDB API',
};

export default function RootLayout({ children }: { children: React.ReactNode }) {
export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
return (
<html lang="en">
<body className={inter.className}>
Expand Down

0 comments on commit f06d6b8

Please sign in to comment.