Fixes grammar in api docs

Signed-off-by: mischievous007 <aditya.kr1693@gmail.com>
This commit is contained in:
mischievous007
2024-09-30 09:26:16 +05:30
parent 416d16795b
commit 60403a86b8
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -26,7 +26,7 @@ opens up for other type of themes, and removes the hardcoded usage of
To migrate an existing theme, remove the `theme` property and move it over to a
new `Provider` component, using `ThemeProvider` from Material UI to provide the new
theme, along with `<CssBaseline>`. For example a theme that currently looks like
theme, along with `<CssBaseline>`. For example, a theme that currently looks like
this:
```tsx
@@ -84,7 +84,7 @@ migrate to your own custom API.
First, you'll need to define a new Utility API reference. If you're only using
the API for sign-in, you can put the definition in `packages/app/src/apis.ts`.
However, if you need to access your auth API inside plugins you you'll need to
export it from a common package. If you don't already have one we recommended
export it from a common package. If you don't already have one, we recommended
creating `@internal/apis` and from there export the API reference.
```ts
@@ -101,7 +101,7 @@ export const acmeAuthApiRef: ApiRef<
});
```
Next you'll want to wire up the API inside `packages/app/src/apis.ts`, which
Next, you'll want to wire up the API inside `packages/app/src/apis.ts`, which
varies depending on which API you're replacing. If you for example are replacing
the `oauth2ApiRef`, the factory might look like this: