Updated nextjs version
This commit is contained in:
@@ -3,7 +3,6 @@ import "./globals.css"
|
||||
import ThemeProvider from "@/components/ThemeProvider"
|
||||
import { Toaster } from "@/components/ui/sonner"
|
||||
import type { Metadata } from "next"
|
||||
import { ReactNode } from "react"
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: {
|
||||
@@ -12,7 +11,7 @@ export const metadata: Metadata = {
|
||||
}
|
||||
}
|
||||
|
||||
export default function RootLayout({ children }: Readonly<{ children: ReactNode }>) {
|
||||
export default function RootLayout({ children }: LayoutProps<"/">) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<head>
|
||||
|
||||
Reference in New Issue
Block a user