Skip to content

Commit 08dcaed

Browse files
domvoEskiMojo14
andauthored
Update docs/rtk-query/api/created-api/hooks.mdx
Co-authored-by: Ben Durrant <ben.j.durrant@gmail.com>
1 parent 18e4845 commit 08dcaed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rtk-query/api/created-api/hooks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ type UseQueryResult<T> = {
277277
isSuccess: boolean // Query has data from a successful load.
278278
isError: boolean // Query is currently in an "error" state.
279279

280-
refetch: () => Promise<void> // A function to force refetch the query
280+
refetch: () => QueryActionCreatorResult // A function to force refetch the query - returns a Promise with additional methods
281281
}
282282
```
283283

0 commit comments

Comments
 (0)