From eff2f8340b3a0f8494eeefc753bac72715cb56dd Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Tue, 26 Mar 2024 13:33:44 +0000
Subject: fix: Allow setting demo mode creds when demo mode is enabled

---
 apps/web/lib/clientConfig.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'apps/web/lib/clientConfig.tsx')

diff --git a/apps/web/lib/clientConfig.tsx b/apps/web/lib/clientConfig.tsx
index 10ca1010..d63b169c 100644
--- a/apps/web/lib/clientConfig.tsx
+++ b/apps/web/lib/clientConfig.tsx
@@ -3,7 +3,7 @@ import { createContext, useContext } from "react";
 import type { ClientConfig } from "@hoarder/shared/config";
 
 export const ClientConfigCtx = createContext<ClientConfig>({
-  demoMode: false,
+  demoMode: undefined,
   auth: {
     disableSignups: false,
   },
-- 
cgit v1.2.3-70-g09d2

