Skip to content

Commit

Permalink
ci: apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Nov 14, 2024
1 parent 347148c commit 62e59e7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ class TodoItemComponent {
[//]: # 'Example2'

```ts
import { injectMutation, QueryClient } from '@tanstack/angular-query-experimental'
import {
injectMutation,
QueryClient,
} from '@tanstack/angular-query-experimental'

export class TodosComponent {
queryClient = inject(QueryClient)
Expand Down
5 changes: 1 addition & 4 deletions docs/framework/angular/guides/query-invalidation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ replace: { 'useQuery': 'injectQuery', 'hooks': 'functions' }
[//]: # 'Example2'

```ts
import {
injectQuery,
QueryClient,
} from '@tanstack/angular-query-experimental'
import { injectQuery, QueryClient } from '@tanstack/angular-query-experimental'

class QueryInvalidationExample {
queryClient = inject(QueryClient)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
Output,
inject,
} from '@angular/core'
import { QueryClient , injectQuery } from '@tanstack/angular-query-experimental'
import { QueryClient, injectQuery } from '@tanstack/angular-query-experimental'
import { lastValueFrom } from 'rxjs'
import { PostsService } from '../services/posts-service'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { ChangeDetectionStrategy, Component, inject } from '@angular/core'
import { RouterLink } from '@angular/router'
import {
QueryClient,
injectQuery,
} from '@tanstack/angular-query-experimental'
import { QueryClient, injectQuery } from '@tanstack/angular-query-experimental'
import { lastValueFrom } from 'rxjs'
import { PostsService } from '../services/posts-service'

Expand Down

0 comments on commit 62e59e7

Please sign in to comment.