mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Update FetchDataSteps.tsx (#30360)
This commit is contained in:
1 parent
7a504f3c95
commit
fd9929be5a
1 file changed
+1
-1
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user