Skip to content

Commit

Permalink
Fix legacy client fetcher example code (#2207)
Browse files Browse the repository at this point in the history
  • Loading branch information
dushaniw authored Feb 24, 2022
1 parent 91500d4 commit a037903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphiql-toolkit/docs/create-fetcher.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const subscriptionUrl = 'wss://myschema.com/graphql';

const fetcher = createGraphiQLFetcher({
url,
legacyWsClient: new SubscriptionsClient(subscriptionUrl),
legacyWsClient: new SubscriptionClient(subscriptionUrl),
});

export const App = () => <GraphiQL fetcher={fetcher} />;
Expand Down

0 comments on commit a037903

Please sign in to comment.