Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update FetchDataSteps.tsx (#30360)

Gen Tamurafd9929be5a65
diff --git a/examples/auth/nextjs/components/tutorial/FetchDataSteps.tsx b/examples/auth/nextjs/components/tutorial/FetchDataSteps.tsx
index c4b2160de37..da048fbd2d2 100644
--- a/examples/auth/nextjs/components/tutorial/FetchDataSteps.tsx
+++ b/examples/auth/nextjs/components/tutorial/FetchDataSteps.tsx
@@ -18,7 +18,7 @@ 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 <pre>{JSON.stringify(notes, null, 2)}</pre>