From 5a666baa14db4a74a1aa2e6448b54da939041875 Mon Sep 17 00:00:00 2001 From: Dominik Dorfmeister Date: Wed, 9 Feb 2022 20:02:35 +0100 Subject: [PATCH] Update docs/src/pages/guides/migrating-to-react-query-4.md --- docs/src/pages/guides/migrating-to-react-query-4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/guides/migrating-to-react-query-4.md b/docs/src/pages/guides/migrating-to-react-query-4.md index c3cdca63a0..6cb9773cf7 100644 --- a/docs/src/pages/guides/migrating-to-react-query-4.md +++ b/docs/src/pages/guides/migrating-to-react-query-4.md @@ -254,7 +254,7 @@ Further, it is an easy bug to produce `Promise` by adding logging in the q ```js useQuery( ['key'], - () => axios.get(url).then(result => console.log(result.data) + () => axios.get(url).then(result => console.log(result.data)) ) ```