From 25aec8223b026f795bf9f0cfa2240f6342b2461a Mon Sep 17 00:00:00 2001 From: ngc2207 Date: Wed, 29 Jan 2025 12:28:34 +0800 Subject: [PATCH] fix: make RootLayoutProps readonly to enhance type safety --- src/app/layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 735557d..304978f 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -22,7 +22,7 @@ interface RootLayoutProps { children: React.ReactNode; } -export default function RootLayout({ children }: RootLayoutProps) { +export default function RootLayout({ children }: Readonly) { return (