diff --git a/examples/with-supabase/components/tutorial/fetch-data-steps.tsx b/examples/with-supabase/components/tutorial/fetch-data-steps.tsx index f0193fe3a85ba..23c7df52d218d 100644 --- a/examples/with-supabase/components/tutorial/fetch-data-steps.tsx +++ b/examples/with-supabase/components/tutorial/fetch-data-steps.tsx @@ -16,7 +16,7 @@ values const server = `import { createClient } from '@/utils/supabase/server' export default async function Page() { - const supabase = createClient() + const supabase = await createClient() const { data: notes } = await supabase.from('notes').select() return
{JSON.stringify(notes, null, 2)}