From b4c01d519f9cb8e8d8d0af004543b3bf5fa9d2b3 Mon Sep 17 00:00:00 2001 From: c-ehrlich Date: Tue, 9 Apr 2024 15:07:20 +0200 Subject: [PATCH] docs: correct useQuery `status` type --- docs/framework/react/reference/useQuery.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/react/reference/useQuery.md b/docs/framework/react/reference/useQuery.md index 92856e9988..a1071afebd 100644 --- a/docs/framework/react/reference/useQuery.md +++ b/docs/framework/react/reference/useQuery.md @@ -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