diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 06f1a19..c14f214 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,21 +1,21 @@ -import { ClerkProvider } from '@clerk/nextjs' -import './globals.css' -import { HTMLAttributes } from 'react'; +"use client"; -export default function RootLayout({ - children, - style -}: { - children: React.ReactNode; - style?: HTMLAttributes['style']; -}) { +import { ClerkProvider } from '@clerk/nextjs'; +import './globals.css'; +import { ReactNode } from 'react'; + +interface RootLayoutProps { + children: ReactNode; +} + +export default function RootLayout({ children }: RootLayoutProps) { return ( - + {children} - ) + ); }