From fa56efdd26205ea23718c74eed4e0dac6b34d43a Mon Sep 17 00:00:00 2001 From: judasane Date: Thu, 18 Jun 2020 23:45:01 -0500 Subject: [PATCH] Added commas to standalone example Standalone example was triggering an error because the object operation had syntax errors. I added commas to fix it --- docs/source/index.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/index.mdx b/docs/source/index.mdx index 943c8b63aa..91983eb7e0 100644 --- a/docs/source/index.mdx +++ b/docs/source/index.mdx @@ -139,10 +139,10 @@ const link = new HttpLink({ uri }); const operation = { query: gql`query { hello }`, - variables: {} //optional - operationName: {} //optional - context: {} //optional - extensions: {} //optional + variables: {}, //optional + operationName: {}, //optional + context: {}, //optional + extensions: {}, //optional }; // execute returns an Observable so it can be subscribed to