diff --git a/apps/web/src/app/test/layout.tsx b/apps/web/src/app/test/layout.tsx index f2ce9737c..a159be0f9 100644 --- a/apps/web/src/app/test/layout.tsx +++ b/apps/web/src/app/test/layout.tsx @@ -1,6 +1,16 @@ import { BusterReactQueryProvider } from '@/context/BusterReactQuery/BusterReactQueryAndApi'; +import { SupabaseContextProvider } from '@/context/Supabase'; +import { getSupabaseUserContext } from '@/lib/supabase'; import { QueryClient } from '@tanstack/react-query'; -export default function Layout({ children }: { children: React.ReactNode }) { - return {children}; +export default async function Layout({ children }: { children: React.ReactNode }) { + const supabaseContext = await getSupabaseUserContext(); + + return ( + + + {children} + + + ); }