Skip to content

Commit 4336a52

Browse files
authored
docs: fix resolvedData typo (TanStack#502)
1 parent fe6f161 commit 4336a52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1992,7 +1992,7 @@ const {
19921992
- `loading` if the query is in an initial loading state. This means there is no cached data and the query is currently fetching, eg `isFetching === true`)
19931993
- `error` if the query attempt resulted in an error. The corresponding `error` property has the error received from the attempted fetch
19941994
- `success` if the query has received a response with no errors and is ready to display its data. The corresponding `data` property on the query is the data received from the successful fetch or if the query is in `manual` mode and has not been fetched yet `data` is the first `initialData` supplied to the query on initialization.
1995-
- `resolveData: Any`
1995+
- `resolvedData: Any`
19961996
- Defaults to `undefined`.
19971997
- The last successfully resolved data for the query.
19981998
- When fetching based on a new query key, the value will resolve to the last known successful value, regardless of query key

0 commit comments

Comments
 (0)