fixed wrong theme being applied in hub

This commit is contained in:
PxlLoewe
2025-06-11 00:09:54 -07:00
parent d8fea362a8
commit b1181c2088
2 changed files with 5 additions and 3 deletions

View File

@@ -1,9 +1,9 @@
import { Geist, Geist_Mono } from "next/font/google";
import { NextAuthSessionProvider } from "./_components/AuthSessionProvider";
import { getServerSession } from "./api/auth/[...nextauth]/auth";
import "./globals.css";
import { CustomErrorBoundary } from "_components/ErrorBoundary";
import { Toaster } from "react-hot-toast";
import "./globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
@@ -23,7 +23,7 @@ const RootLayout = async ({
const session = await getServerSession();
return (
<html lang="en">
<html lang="en" data-theme="dark">
<NextAuthSessionProvider session={session}>
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
<div>