Skip to content

Commit

Permalink
docs(angular-query): update disabling-queries.md (#7332)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShacharHarshuv authored May 4, 2024
1 parent 10bdb08 commit d032247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/framework/angular/guides/disabling-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class TodosComponent {

todosQuery = injectQuery(() => ({
queryKey: ['todos', this.filter()],
queryFn: this.filter ? () => fetchTodos(this.filter()) : skipToken,
queryFn: this.filter() ? () => fetchTodos(this.filter()) : skipToken,
}))
}
```
Expand Down

0 comments on commit d032247

Please sign in to comment.