Merge pull request #7394 from ljupchokotev/fix-example
Fix example in integration-react/CHANGELOG.md
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user