added build steps

This commit is contained in:
2024-09-24 08:33:11 -06:00
parent eb73b7217f
commit 6eaf48609e
6 changed files with 72 additions and 7 deletions

View File

@@ -6,6 +6,7 @@ import { getQueryClient } from "./providersQueryClientUtils";
import { hydrateCourses } from "@/hooks/hookHydration";
import { dehydrate, HydrationBoundary } from "@tanstack/react-query";
import { MyToaster } from "./MyToaster";
import { cookies } from "next/headers";
export const metadata: Metadata = {
title: "Canvas Manager 2.0",
@@ -19,6 +20,7 @@ export default async function RootLayout({
const queryClient = getQueryClient();
await hydrateCourses(queryClient);
const dehydratedState = dehydrate(queryClient);
cookies() // disables static page generation at build time
return (
<html lang="en">