import "./globals.css"; import type { Metadata } from "next"; import { Roboto } from "next/font/google"; import { Layout, FixedPlugin } from "@/components"; import React from "react"; const roboto = Roboto({ subsets: ["latin"], weight: ["300", "400", "500", "700", "900"], display: "swap", }); export const metadata: Metadata = { title: "NextJS Tailwind Event Landing Page", description: "Introducing Tailwind Event Landing Page, a dynamic and visually appealing landing page template designed using Tailwind CSS and Material Tailwind.", }; // getting this Type error: Type 'ReactNode' is not assignable to type 'NonNullable'. // Type 'undefined' is not assignable to type 'NonNullable'. // ReactNodeLike is a type that represents a ReactNode or a string. export default function RootLayout({ children, }: { children: React.ReactNode; }) { return ( {children || <>} ); }