From e9a22b677994c90c9c559ea90671bbfb3961b7be Mon Sep 17 00:00:00 2001 From: Cassi Lup <598642+cassilup@users.noreply.github.com> Date: Mon, 18 Dec 2023 11:54:33 +0200 Subject: [PATCH] docks: Fixing typo in code example Fixed code typo in README.md, enhanced code readability --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 66b4bb4..834b778 100644 --- a/README.md +++ b/README.md @@ -514,8 +514,9 @@ import { injectIsFetching } from '@ngneat/query'; class TodoComponent { #isFetching = injectIsFetching(); + // How many queries overall are currently fetching data? - public isFetching$ = this.isFetching().result$; + public isFetching$ = this.#isFetching().result$; // How many queries matching the todos prefix are currently fetching? public isFetchingTodos$ = this.#isFetching({ queryKey: ['todos'] }).result$; @@ -529,6 +530,7 @@ import { injectIsFetching } from '@ngneat/query'; class TodoComponent { #isFetching = injectIsFetching(); + // How many queries overall are currently fetching data? public isFetching = this.#isFetching().result; @@ -550,6 +552,7 @@ import { injectIsMutating } from '@ngneat/query'; class TodoComponent { #isMutating = injectIsMutating(); + // How many queries overall are currently fetching data? public isFetching$ = this.#isMutating().result$; @@ -565,6 +568,7 @@ import { injectIsMutating } from '@ngneat/query'; class TodoComponent { #isMutating = injectIsMutating(); + // How many queries overall are currently fetching data? public isFetching = this.#isMutating().result;