Fix example in integration-react/CHANGELOG.md

Signed-off-by: Ljupcho Kotev <lyupcho.kotev@gmail.com>
This commit is contained in:
Ljupcho Kotev
2021-09-30 18:18:16 +02:00
parent 7eb965258b
commit 7330eb87f3
+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,