Skip to content

Commit 57b5fcd

Browse files
kiendangacao
authored andcommitted
doc: fix graphiql-plugin-explorer readme example
1 parent 3d4b9b7 commit 57b5fcd

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

packages/graphiql-plugin-explorer/README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,7 @@ const fetcher = createGraphiQLFetcher({
3737
// pass the explorer props here if you want
3838
const explorer = explorerPlugin();
3939

40-
return (
41-
<GraphiQL
42-
fetcher={fetcher}
43-
query={query}
44-
onEditQuery={setQuery}
45-
plugins={[explorer]}
46-
/>
47-
);
40+
return <GraphiQL fetcher={fetcher} plugins={[explorer]} />;
4841
```
4942

5043
## CDN bundles

0 commit comments

Comments
 (0)