From 3fafaf1f42dce4f9132715da3863223c629f1489 Mon Sep 17 00:00:00 2001 From: Joseph J Helfenbein Date: Sat, 25 Jan 2025 07:35:31 -0500 Subject: [PATCH] correctly pass style --- src/app/layout.tsx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) 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} - ) + ); }