Skip to content
Source
Sign inSign up
TanStack/query

Fix Query Updates from Mutations Example #9

MergedAminZibayi(GitHub profile, opens in a new tab)merged 1 commit intomaster fromrefs/pull/9/headmerged by tannerlinsley View on GitHub

Showing 1 changed file with 1 addition and 1 deletion.

x
0 of 1 viewed, 1 left
1 addition and 1 deletionREADME.mdModified
View file
@@ -580,7 +580,7 @@
​
// The query below will be updated with the response from the mutation above when it succeeds
-const { data, isLoading, error } = useQuery(fetchTodoList, {
+const { data, isLoading, error } = useQuery(fetchTodoByID, {
variables: {
id: 5,