We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 991c32a commit c919f09Copy full SHA for c919f09
examples/with-supabase/components/tutorial/fetch-data-steps.tsx
@@ -16,7 +16,7 @@ values
16
const server = `import { createClient } from '@/utils/supabase/server'
17
18
export default async function Page() {
19
- const supabase = createClient()
+ const supabase = await createClient()
20
const { data: notes } = await supabase.from('notes').select()
21
22
return <pre>{JSON.stringify(notes, null, 2)}</pre>
0 commit comments