From 699cdd56173efde38b30e37506a47757690a641c Mon Sep 17 00:00:00 2001 From: Eugene Yakhnenko Date: Wed, 13 Jul 2022 10:38:21 -0700 Subject: [PATCH] Added the word successfully to highlight that onComplete is called when query succeeds and has no errors --- docs/fetching/mutations.md | 2 +- docs/fetching/queries.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/fetching/mutations.md b/docs/fetching/mutations.md index bbbdc33..f51b7e9 100644 --- a/docs/fetching/mutations.md +++ b/docs/fetching/mutations.md @@ -328,7 +328,7 @@ allowing you to execute code when a specific event occurs. ### `onComplete` -This callback gets called when the mutation completes execution. +This callback gets called when the mutation successfully completes execution. ```ts createNote = useMutation(this, () => [ diff --git a/docs/fetching/queries.md b/docs/fetching/queries.md index 8c44c0b..6cd2de4 100644 --- a/docs/fetching/queries.md +++ b/docs/fetching/queries.md @@ -317,7 +317,7 @@ allowing you to execute code when a specific event occurs. ### `onComplete` -This callback gets called when the query completes execution and when the +This callback gets called when the query successfully completes execution and when the cache associated with this query is updated. ```js