Skip to content

Commit 440523c

Browse files
committed
fix suspense property introduction
1 parent 767f687 commit 440523c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1717,7 +1717,7 @@ const {
17171717
- Optional
17181718
- Set this to `true` to enable suspense mode.
17191719
- When `true`, `useQuery` will suspend when `status === 'loading'`
1720-
- When `true`, `useQuery` will throw runtime errors when `status === 'error'`
1720+
- When `false`, `useQuery` will throw runtime errors when `status === 'error'`
17211721
- `initialData: any | Function() => any`
17221722
- Optional
17231723
- If set, this value will be used as the initial data for the query cache (as long as the query hasn't been created or cached yet)
@@ -1840,7 +1840,7 @@ const {
18401840
- Optional
18411841
- Set this to `true` to enable suspense mode.
18421842
- When `true`, `useQuery` will suspend when `status === 'loading'`
1843-
- When `true`, `useQuery` will throw runtime errors when `status === 'error'`
1843+
- When `false`, `useQuery` will throw runtime errors when `status === 'error'`
18441844
- `initialData: any`
18451845
- Optional
18461846
- If set, this value will be used as the initial data for the query cache (as long as the query hasn't been created or cached yet)
@@ -1978,7 +1978,7 @@ const {
19781978
- Optional
19791979
- Set this to `true` to enable suspense mode.
19801980
- When `true`, `useQuery` will suspend when `status === 'loading'`
1981-
- When `true`, `useQuery` will throw runtime errors when `status === 'error'`
1981+
- When `false`, `useQuery` will throw runtime errors when `status === 'error'`
19821982
- `initialData: any`
19831983
- Optional
19841984
- If set, this value will be used as the initial data for the query cache (as long as the query hasn't been created or cached yet)

0 commit comments

Comments
 (0)