From 9dc45bb8d13ebb486dd1cb9963e1e0d9787d984d Mon Sep 17 00:00:00 2001 From: Andreas Ottosson <133760824+andreasottosson-polestar@users.noreply.github.com> Date: Tue, 27 Feb 2024 12:12:03 +0100 Subject: [PATCH] fix(documentation): use correct query names in partial example (#11625) * Update suspense.mdx Correct name of query GET_DOG_QUERY_PARTIAL -> PARTIAL_GET_DOG_QUERY --- docs/source/data/suspense.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/data/suspense.mdx b/docs/source/data/suspense.mdx index 056b601f44a..036badaa165 100644 --- a/docs/source/data/suspense.mdx +++ b/docs/source/data/suspense.mdx @@ -257,7 +257,7 @@ const PARTIAL_GET_DOG_QUERY: TypedDocumentNode< // Write partial data for Buck to the cache // so it is available when Dog renders client.writeQuery({ - query: GET_DOG_QUERY_PARTIAL, + query: PARTIAL_GET_DOG_QUERY, variables: { id: "1" }, data: { dog: { id: "1", name: "Buck" } }, });