From 9dfd1b6eeaf48f27095c128d085284ca8d7e8a1c Mon Sep 17 00:00:00 2001 From: spawnia Date: Thu, 13 Apr 2023 14:00:17 +0000 Subject: [PATCH] Prettify --- README.md | 12 ++++++------ UPGRADE.md | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 6642f06..1a46edb 100644 --- a/README.md +++ b/README.md @@ -66,12 +66,12 @@ Add extra settings in the call to `React.createElement(GraphiQL, {})` in the pub ```js React.createElement(GraphiQL, { - fetcher: GraphiQL.createFetcher({ - url: '{{ $url }}', - subscriptionUrl: '{{ $subscriptionUrl }}', - }), - // See https://github.com/graphql/graphiql/tree/main/packages/graphiql#props for available settings -}) + fetcher: GraphiQL.createFetcher({ + url: "{{ $url }}", + subscriptionUrl: "{{ $subscriptionUrl }}", + }), + // See https://github.com/graphql/graphiql/tree/main/packages/graphiql#props for available settings +}); ``` ### Configure session authentication diff --git a/UPGRADE.md b/UPGRADE.md index 29d35f7..a81d7c5 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -10,4 +10,4 @@ Instead of the configuration option `route`, the configuration file now expects that defines any number of routes, see https://github.com/mll-lab/laravel-graphiql/pull/14/files#diff-1c777d8014cec320798bb3882fc51a53b38ba3426d07c1ba77b8b8f33bb062a0. The view can now be rendered from different routes which have different endpoints assigned to them. -Use the provided variables `$url` and `$subscriptionUrl` instead of accessing the configuration directly, see +Use the provided variables `$url` and `$subscriptionUrl` instead of accessing the configuration directly, see