Skip to content

Commit c919f09

Browse files
authored
examples: fix supabase example for v15 (#76567)
1 parent 991c32a commit c919f09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/with-supabase/components/tutorial/fetch-data-steps.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ values
1616
const server = `import { createClient } from '@/utils/supabase/server'
1717
1818
export default async function Page() {
19-
const supabase = createClient()
19+
const supabase = await createClient()
2020
const { data: notes } = await supabase.from('notes').select()
2121
2222
return <pre>{JSON.stringify(notes, null, 2)}</pre>

0 commit comments

Comments
 (0)