@@ -69,7 +66,7 @@ function Header() { function Footer() { return ( -
diff --git a/web/src/app/_components/theme-provider-wrapper.tsx b/web/src/app/_components/theme-provider-wrapper.tsx
new file mode 100644
index 0000000..6da0db8
--- /dev/null
+++ b/web/src/app/_components/theme-provider-wrapper.tsx
@@ -0,0 +1,29 @@
+// Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
+// SPDX-License-Identifier: MIT
+
+"use client";
+
+import { usePathname } from "next/navigation";
+
+import { ThemeProvider } from "~/components/theme-provider";
+
+export function ThemeProviderWrapper({
+ children,
+}: {
+ children: React.ReactNode;
+}) {
+ const pathname = usePathname();
+ const isChatPage = pathname?.startsWith("/chat");
+
+ return (
+