From a78b2448ca5b018edec2d4c3eea65f85d5fbb7b7 Mon Sep 17 00:00:00 2001 From: Pierre Mdawar Date: Thu, 17 Sep 2020 16:25:50 +0300 Subject: [PATCH] Remove storing the return value of queryCache.removeQueries Removed storing the return value of `queryCache.removeQueries` as it doesn't return anything. --- docs/src/pages/docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/docs/api.md b/docs/src/pages/docs/api.md index 4928ccf627..a070656245 100644 --- a/docs/src/pages/docs/api.md +++ b/docs/src/pages/docs/api.md @@ -549,7 +549,7 @@ This function does not return anything 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. ```js -const queries = queryCache.removeQueries(queryKeyOrPredicateFn, { +queryCache.removeQueries(queryKeyOrPredicateFn, { exact, }) ```