mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
working on hot reloading
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { dehydrate } from "@tanstack/react-query";
|
||||
import { MyQueryClientProvider } from "@/services/utils/MyQueryClientProvider";
|
||||
import { hydrateCourses } from "@/hooks/hookHydration";
|
||||
import { createQueryClientForServer } from "@/services/utils/queryClientServer";
|
||||
import MyQueryClientProvider from "@/services/utils/MyQueryClientProvider";
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Canvas Manager 2.0",
|
||||
@@ -30,9 +28,7 @@ export default async function RootLayout({
|
||||
return (
|
||||
<html lang="en">
|
||||
<MyQueryClientProvider dehydratedState={dehydratedState}>
|
||||
{/* <LoadingAndErrorHandling> */}
|
||||
<body className={inter.className}>{children}</body>
|
||||
{/* </LoadingAndErrorHandling> */}
|
||||
<body className="bg-slate-950">{children}</body>
|
||||
</MyQueryClientProvider>
|
||||
</html>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user