Skip to content

Commit fca5e7d

Browse files
authored
docs: correct useQuery status type (TanStack#7252)
1 parent 3fa5323 commit fca5e7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/framework/react/reference/useQuery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ const {
172172

173173
**Returns**
174174

175-
- `status: String`
175+
- `status: QueryStatus`
176176
- Will be:
177177
- `pending` if there's no cached data and no query attempt was finished yet.
178178
- `error` if the query attempt resulted in an error. The corresponding `error` property has the error received from the attempted fetch

0 commit comments

Comments
 (0)