diff --git a/docs/guide/data-resolvers/introduction.md b/docs/guide/data-resolvers/introduction.md index 2d3d46344c..12e1f9b5b1 100644 --- a/docs/guide/data-resolvers/introduction.md +++ b/docs/guide/data-resolvers/introduction.md @@ -3,10 +3,10 @@ ## What are the data resolvers? The `data resolvers` are the way of manage the network/api calls and split them from the rest of application. All of available `data resolvers` you can find in the `core/data-resolver` directory. -If you want to trigger a network calls, you should create a new `data resolver`, and import it in the place where it's needed. +If you want to trigger a network call, you should create a new `data resolver`, and import it in the place where it's needed. ## How to create a data resolver -First of all, please create a types for it under the namespace `DataResolver`, then just create a new data resolver like this example below: +First of all, please create a type for it under the namespace `DataResolver`, then just create a new data resolver like this example below: ```js diff --git a/docs/guide/data-resolvers/user-service.md b/docs/guide/data-resolvers/user-service.md index ead790f14c..ba178aca23 100644 --- a/docs/guide/data-resolvers/user-service.md +++ b/docs/guide/data-resolvers/user-service.md @@ -16,7 +16,7 @@ Registering the new user by given user data (`customer`) and `password`. #### `updateProfile: (userProfile: UserProfile) => Promise` -It updates the the current logged user profile (`userProfile`). +It updates the current logged user profile (`userProfile`). #### `getProfile: () => Promise`