Skip to content

Commit

Permalink
docs: correct useQuery status type (#7252)
Browse files Browse the repository at this point in the history
  • Loading branch information
c-ehrlich committed Apr 9, 2024
1 parent 3fa5323 commit fca5e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/framework/react/reference/useQuery.md
Expand Up @@ -172,7 +172,7 @@ const {

**Returns**

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

0 comments on commit fca5e7d

Please sign in to comment.