Skip to content

Commit

Permalink
fix(documentation): use correct query names in partial example (#11625)
Browse files Browse the repository at this point in the history
* Update suspense.mdx

Correct name of query GET_DOG_QUERY_PARTIAL -> PARTIAL_GET_DOG_QUERY
  • Loading branch information
andreasottosson-polestar committed Feb 27, 2024
1 parent 7aeaec8 commit 9dc45bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/data/suspense.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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" } },
});
Expand Down

0 comments on commit 9dc45bb

Please sign in to comment.