Skip to content

Commit b7a95c6

Browse files
committed
Solve issue where the default client isn't provided.
1 parent 75fe94b commit b7a95c6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

graphql-query.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ <h1>[[result.block.title]]</h1>
5252
-->
5353

5454
<script>
55-
window.PolymerApolloClient = window.PolymerApolloClient || {};
56-
5755
class GraphQLQuery extends MatryoshkaLoaderMixin(Polymer.Element) {
5856
static get is() {
5957
return 'graphql-query';
@@ -193,7 +191,7 @@ <h1>[[result.block.title]]</h1>
193191
* Connect to a different client.
194192
*/
195193
clientName: {
196-
value: window.PolymerApolloClient.CLIENT_NAME_DEFAULT
194+
value: CLIENT_NAME_DEFAULT
197195
},
198196

199197
/**

0 commit comments

Comments
 (0)