changed theme provider name
This commit is contained in:
@ -2,7 +2,7 @@ import type { Metadata } from "next";
|
||||
import { GeistSans } from "geist/font/sans";
|
||||
import { Toaster } from "@/components/ui/toaster";
|
||||
import "./globals.css";
|
||||
import Providers from "./theme-provider";
|
||||
import CustomThemeProvider from "./theme-provider";
|
||||
export const metadata: Metadata = {
|
||||
title: "Daphnis",
|
||||
description: "Artemis score viewer",
|
||||
@ -16,9 +16,9 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" className={GeistSans.className}>
|
||||
<body className={GeistSans.className}>
|
||||
<Providers>
|
||||
<CustomThemeProvider>
|
||||
<main className="">{children} </main>
|
||||
</Providers>
|
||||
</CustomThemeProvider>
|
||||
<Toaster />
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user