another theme switch fix

This commit is contained in:
Anirban Kar 2024-11-21 01:21:39 +05:30
parent dd82a3055b
commit 45445549f1

View File

@ -13,7 +13,7 @@ export const loader = () => json({});
export default function Index() { export default function Index() {
return ( return (
<div className="flex flex-col h-full w-full bg-bolt-elements-background-depth-1 dark:bg-bolt-elements-background-depth-1/80"> <div className="flex flex-col h-full w-full bg-bolt-elements-background-depth-1">
<BackgroundRays /> <BackgroundRays />
<Header /> <Header />
<ClientOnly fallback={<BaseChat />}>{() => <Chat />}</ClientOnly> <ClientOnly fallback={<BaseChat />}>{() => <Chat />}</ClientOnly>