Skip to content

Commit 598ea39

Browse files
authored
Remove storing the return value of queryCache.removeQueries (#1038)
Removed storing the return value of `queryCache.removeQueries` as it doesn't return anything.
1 parent 9326990 commit 598ea39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/pages/docs/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ This function does not return anything
549549
The `removeQueries` method can be used to remove queries from the cache based on their query keys or any other functionally accessible property/state of the query.
550550

551551
```js
552-
const queries = queryCache.removeQueries(queryKeyOrPredicateFn, {
552+
queryCache.removeQueries(queryKeyOrPredicateFn, {
553553
exact,
554554
})
555555
```

0 commit comments

Comments
 (0)