Merge pull request #7394 from ljupchokotev/fix-example

Fix example in integration-react/CHANGELOG.md
This commit is contained in:
Patrik Oldsberg
2021-09-30 22:29:45 +02:00
committed by GitHub
+2 -2
View File
@@ -45,7 +45,7 @@
});
```
The additional `gheAuthApiRef` utility API can be defined either inside the app itself if it's only used for this purpose, for inside an internal common package for APIs, such as `@internal/apis`:
The additional `gheAuthApiRef` utility API can be defined either inside the app itself if it's only used for this purpose, or inside an internal common package for APIs, such as `@internal/apis`:
```ts
const gheAuthApiRef: ApiRef<OAuthApi & ProfileInfoApi & SessionApi> =
@@ -58,7 +58,7 @@
```ts
createApiFactory({
api: githubAuthApiRef,
api: gheAuthApiRef,
deps: {
discoveryApi: discoveryApiRef,
oauthRequestApi: oauthRequestApiRef,