mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-15 01:21:48 +03:00
🚑 fix feature flags -> add it back to context (#1106)
This commit is contained in:
parent
9b163e5b65
commit
34708c51ea
@ -4,6 +4,7 @@ import { Inter } from "next/font/google";
|
|||||||
import { cookies, headers } from "next/headers";
|
import { cookies, headers } from "next/headers";
|
||||||
|
|
||||||
import { ToastProvider } from "@/lib/components/ui/Toast";
|
import { ToastProvider } from "@/lib/components/ui/Toast";
|
||||||
|
import { FeatureFlagsProvider } from "@/lib/context";
|
||||||
import { BrainConfigProvider } from "@/lib/context/BrainConfigProvider";
|
import { BrainConfigProvider } from "@/lib/context/BrainConfigProvider";
|
||||||
import { BrainProvider } from "@/lib/context/BrainProvider";
|
import { BrainProvider } from "@/lib/context/BrainProvider";
|
||||||
import { SupabaseProvider } from "@/lib/context/SupabaseProvider";
|
import { SupabaseProvider } from "@/lib/context/SupabaseProvider";
|
||||||
@ -38,6 +39,7 @@ const RootLayout = async ({
|
|||||||
<body
|
<body
|
||||||
className={`bg-white text-black min-h-screen flex flex-col dark:bg-black dark:text-white w-full ${inter.className}`}
|
className={`bg-white text-black min-h-screen flex flex-col dark:bg-black dark:text-white w-full ${inter.className}`}
|
||||||
>
|
>
|
||||||
|
<FeatureFlagsProvider>
|
||||||
<ToastProvider>
|
<ToastProvider>
|
||||||
<SupabaseProvider session={session}>
|
<SupabaseProvider session={session}>
|
||||||
<BrainConfigProvider>
|
<BrainConfigProvider>
|
||||||
@ -50,6 +52,7 @@ const RootLayout = async ({
|
|||||||
</SupabaseProvider>
|
</SupabaseProvider>
|
||||||
</ToastProvider>
|
</ToastProvider>
|
||||||
<Analytics />
|
<Analytics />
|
||||||
|
</FeatureFlagsProvider>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user