Skip to content

Commit 9882188

Browse files
committed
fix(docs): typos
1 parent d6c532f commit 9882188

File tree

1 file changed

+2
-4
lines changed
  • documentation/docs/data/packages/rest-data-provider

1 file changed

+2
-4
lines changed

documentation/docs/data/packages/rest-data-provider/index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ It uses KY library under the hood, which is a tiny and elegant HTTP client based
1212

1313
All of these methods accepts respective parameters from the relevant action. Additionally, `mapResponse` and `getTotalCount` methods also accepts response object.
1414

15-
, and 3rd parameter is options for KY client. You can find KY options [here](https://github.com/sindresorhus/ky#options).
15+
3rd parameter is options for KY client. You can find KY options [here](https://github.com/sindresorhus/ky#options).
1616

1717
## Installation
1818

@@ -35,7 +35,7 @@ const MyDataProvider = createDataProvider(
3535
A data provider is simply an object that implements a set of methods.
3636
Each method corresponds to an operation that Refine can perform: fetching a list, creating a record, updating, deleting, etc.
3737

38-
ach operation such as `getList`, `getOne`, `create` has atomic methods to build your request and format their responses, errors.
38+
Each operation such as `getList`, `getOne`, `create` has atomic methods to build your request and format their responses, errors.
3939

4040
- **getEndpoint(params)** → returns the API endpoint.
4141
- **buildHeaders(params)** → adds additional headers.
@@ -70,8 +70,6 @@ export type CreateDataProviderOptions = {
7070
};
7171
```
7272

73-
E
74-
7573
## How to create a custom REST data provider
7674

7775
Refine comes with many built-in data providers (`simple-rest`, `strapi-v4`, `supabase`, etc.).

0 commit comments

Comments
 (0)