Skip to content

Commit d032247

Browse files
docs(angular-query): update disabling-queries.md (#7332)
1 parent 10bdb08 commit d032247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/framework/angular/guides/disabling-queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export class TodosComponent {
8585

8686
todosQuery = injectQuery(() => ({
8787
queryKey: ['todos', this.filter()],
88-
queryFn: this.filter ? () => fetchTodos(this.filter()) : skipToken,
88+
queryFn: this.filter() ? () => fetchTodos(this.filter()) : skipToken,
8989
}))
9090
}
9191
```

0 commit comments

Comments
 (0)