From 196c388261efe14dc88fa93a5ea3339a2ad5c8b6 Mon Sep 17 00:00:00 2001 From: Quinta <0pietroquintavalle0@gmail.com> Date: Sat, 29 Jun 2024 16:13:01 +0200 Subject: [PATCH] relative imports --- app/layout.tsx | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 48c11d1..fefcc83 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,15 +1,19 @@ -import {DM_Sans, Space_Mono} from 'next/font/google' -import { cn } from '@/lib/utils' -import './globals.css' +import { ReactNode } from 'react'; +import { DM_Sans, Space_Mono } from 'next/font/google'; +import { cn } from '@/lib/utils'; +import './globals.css'; const fontHeading = DM_Sans({ subsets: ['latin'], display: 'swap', variable: '--font-heading', -}) +}); +type LayoutProps = { + children: ReactNode; +}; -export default function Layout({ children }) { +export default function Layout({ children }: LayoutProps) { return ( - ) -} \ No newline at end of file + ); +}