Skip to content

Commit

Permalink
chore: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
TkDodo committed Jan 22, 2023
1 parent 3bd86ca commit 7700d03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/query-core/src/queryClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export class QueryClient {

let result: QueryObserverOptions<any, any, any, any, any> = {}

defaults.forEach(queryDefault => {
defaults.forEach((queryDefault) => {
if (partialMatchKey(queryKey, queryDefault.queryKey)) {
result = { ...result, ...queryDefault.defaultOptions }
}
Expand All @@ -408,7 +408,7 @@ export class QueryClient {

let result: MutationObserverOptions<any, any, any, any> = {}

defaults.forEach(queryDefault => {
defaults.forEach((queryDefault) => {
if (partialMatchKey(mutationKey, queryDefault.mutationKey)) {
result = { ...result, ...queryDefault.defaultOptions }
}
Expand Down

0 comments on commit 7700d03

Please sign in to comment.