Adapt props type
This commit is contained in:
@@ -25,7 +25,7 @@ export default async function RootLayout({
|
||||
params,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
params: { locale?: string };
|
||||
params: { locale: string };
|
||||
}>) {
|
||||
const { locale } = await params;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user