diff --git a/apps/nextjs/next.config.ts b/apps/nextjs/next.config.ts
index a00df48d8..96f5b743a 100644
--- a/apps/nextjs/next.config.ts
+++ b/apps/nextjs/next.config.ts
@@ -46,7 +46,7 @@ const nextConfig: NextConfig = {
// Ship server source maps so production Node stack traces in logs reference original source, see https://github.com/homarr-labs/homarr/issues/5891
serverSourceMaps: true,
optimizePackageImports: ["@mantine/core", "@mantine/hooks", "@tabler/icons-react"],
- turbopackFileSystemCacheForDev: true,
+ turbopackFileSystemCacheForDev: false,
preloadEntriesOnStart: false,
webpackMemoryOptimizations: true,
},
diff --git a/apps/nextjs/src/app/[locale]/_client-providers/floating-chat.tsx b/apps/nextjs/src/app/[locale]/_client-providers/floating-chat.tsx
new file mode 100644
index 000000000..60180c76a
--- /dev/null
+++ b/apps/nextjs/src/app/[locale]/_client-providers/floating-chat.tsx
@@ -0,0 +1,12 @@
+"use client";
+
+import dynamic from "next/dynamic";
+
+const FloatingChatButton = dynamic(
+ () => import("~/components/board/floating-chat-button").then((mod) => mod.FloatingChatButton),
+ { ssr: false },
+);
+
+export const FloatingChatButtonProvider = () => {
+ return ;
+};
diff --git a/apps/nextjs/src/app/[locale]/layout.tsx b/apps/nextjs/src/app/[locale]/layout.tsx
index dbb81dc49..fdae0741a 100644
--- a/apps/nextjs/src/app/[locale]/layout.tsx
+++ b/apps/nextjs/src/app/[locale]/layout.tsx
@@ -32,6 +32,7 @@ import { SearchEngineOptimization } from "~/components/layout/search-engine-opti
import { ServiceWorkerRegistration } from "~/components/layout/service-worker-registration";
import { getCurrentColorSchemeAsync } from "~/theme/color-scheme";
import { DayJsLoader } from "./_client-providers/dayjs-loader";
+import { FloatingChatButtonProvider } from "./_client-providers/floating-chat";
import { JotaiProvider } from "./_client-providers/jotai";
import { CustomMantineProvider } from "./_client-providers/mantine";
import { AuthProvider } from "./_client-providers/session";
@@ -147,6 +148,7 @@ export default async function Layout(props: {
+
{props.children}