Skip to content

Commit

Permalink
style(query-core): Fix prettier formatting error (#7182)
Browse files Browse the repository at this point in the history
  • Loading branch information
ardeora committed Mar 27, 2024
1 parent c98a02a commit de2f862
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/query-core/src/queryClient.ts
Expand Up @@ -154,12 +154,10 @@ export class QueryClient {
getQueriesData<TQueryFnData = unknown>(
filters: QueryFilters,
): Array<[QueryKey, TQueryFnData | undefined]> {
return this.#queryCache
.findAll(filters)
.map(({ queryKey, state }) => {
const data = state.data as TQueryFnData | undefined
return [queryKey, data]
})
return this.#queryCache.findAll(filters).map(({ queryKey, state }) => {
const data = state.data as TQueryFnData | undefined
return [queryKey, data]
})
}

setQueryData<
Expand Down

0 comments on commit de2f862

Please sign in to comment.