Unverified Commit c919f09a authored by Terry Sutton's avatar Terry Sutton Committed by GitHub

examples: fix supabase example for v15 (#76567)

parent 991c32ae
......@@ -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 <pre>{JSON.stringify(notes, null, 2)}</pre>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment