aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/app/layout.tsx
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-03-19 12:41:06 +0000
committerMohamedBassem <me@mbassem.com>2024-03-19 12:44:12 +0000
commit64fb87d0ceb591a49aacad39bf5e885cab7decfa (patch)
treeda60a56a0f6546d20d753519e525e9259f789e9c /apps/web/app/layout.tsx
parentf94432b94512cef90cca6d0d5396b4547ccbe68b (diff)
downloadkarakeep-64fb87d0ceb591a49aacad39bf5e885cab7decfa.tar.zst
feature(web): Add support for demo mode
Diffstat (limited to 'apps/web/app/layout.tsx')
-rw-r--r--apps/web/app/layout.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx
index 6ec9c3e4..395d7297 100644
--- a/apps/web/app/layout.tsx
+++ b/apps/web/app/layout.tsx
@@ -10,6 +10,8 @@ import Providers from "@/lib/providers";
import { getServerAuthSession } from "@/server/auth";
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
+import { clientConfig } from "@hoarder/shared/config";
+
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
@@ -42,7 +44,7 @@ export default async function RootLayout({
return (
<html lang="en">
<body className={inter.className}>
- <Providers session={session}>
+ <Providers session={session} clientConfig={clientConfig}>
{children}
<ReactQueryDevtools initialIsOpen={false} />
</Providers>