Skip to content

Commit 6ea9e26

Browse files
authored
fix: change pending by status in examples
1 parent f2747ff commit 6ea9e26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default defineNuxtConfig({
5959
Once installed, Supabase queries gain the `.asAsyncData()` method automatically:
6060

6161
```ts
62-
const { data, pending, error } = await supabase
62+
const { data, status, error } = await supabase
6363
.from('users')
6464
.select('*')
6565
.eq('id', 1)
@@ -69,7 +69,7 @@ const { data, pending, error } = await supabase
6969
Equivalent to:
7070

7171
```ts
72-
const { data, pending, error } = await useAsyncData(
72+
const { data, status, error } = await useAsyncData(
7373
'user-query',
7474
() => supabase.from('users').select('*').eq('id', 1)
7575
);

0 commit comments

Comments
 (0)