From d0fab3789517163a18e9f0f3531c5d34b8f02441 Mon Sep 17 00:00:00 2001 From: adi Date: Wed, 13 Feb 2019 18:21:13 +0200 Subject: [PATCH] Fix typo Changed "if" to "of" at lines: 803, 860. --- docs/Tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Tutorial.md b/docs/Tutorial.md index 627f4272a1..b379dfeeab 100644 --- a/docs/Tutorial.md +++ b/docs/Tutorial.md @@ -800,7 +800,7 @@ import { stringify } from 'query-string'; const API_URL = 'my.api.url'; /** - * @param {String} type One of the constants appearing at the top if this file, e.g. 'UPDATE' + * @param {String} type One of the constants appearing at the top of this file, e.g. 'UPDATE' * @param {String} resource Name of the resource to fetch, e.g. 'posts' * @param {Object} params The Data Provider request params, depending on the type * @returns {Object} { url, options } The HTTP request parameters @@ -857,7 +857,7 @@ const convertDataProviderRequestToHTTP = (type, resource, params) => { /** * @param {Object} response HTTP response from fetch() - * @param {String} type One of the constants appearing at the top if this file, e.g. 'UPDATE' + * @param {String} type One of the constants appearing at the top of this file, e.g. 'UPDATE' * @param {String} resource Name of the resource to fetch, e.g. 'posts' * @param {Object} params The Data Provider request params, depending on the type * @returns {Object} Data Provider response