Merge pull request #651 from buster-so/Jacob-attempted-chart-playground-fix

Jacob attempted chart playground fix
This commit is contained in:
dal 2025-07-30 14:37:36 -06:00 committed by GitHub
commit 4707a87c16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 2 deletions

View File

@ -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 <BusterReactQueryProvider>{children}</BusterReactQueryProvider>;
export default async function Layout({ children }: { children: React.ReactNode }) {
const supabaseContext = await getSupabaseUserContext();
return (
<SupabaseContextProvider supabaseContext={supabaseContext}>
<BusterReactQueryProvider>
{children}
</BusterReactQueryProvider>
</SupabaseContextProvider>
);
}