From 52fa085f8d50387e5a969766d1ec79cbcfd136ed Mon Sep 17 00:00:00 2001 From: Igor Shevchenko <39371503+bnzone@users.noreply.github.com> Date: Mon, 25 Nov 2024 08:34:59 -0600 Subject: [PATCH] docs: update README (#96) Fixed a few minor typos --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 46a083e..d0f7a7a 100644 --- a/README.md +++ b/README.md @@ -888,7 +888,7 @@ const { data, error } = await fetchye(key, options, fetcher); |----------|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `data` | `Object` | A result of a `fetchClient` query. *Defaults to returning `{ status, body, ok, headers }` from `fetchClient` response* | | `error?` | `Object` | An object containing an error if present. *Defaults to an `Error` object with a thrown `fetch` error. This is not for API errors (e.g. Status 500 or 400). See `data` for that* | -| `run` | `async () => {}` | A function for bypassing the cache and firing an API call. Can we awaited. | +| `run` | `async () => {}` | A function for bypassing the cache and firing an API call. Can be awaited. | ### `makeOneServerFetchye` @@ -926,7 +926,7 @@ const { data, error } = await fetchye(key, options, fetcher); |----------|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `data` | `Object` | A result of a `fetchClient` query. *Defaults to returning `{ status, body, ok, headers }` from `fetchClient` response* | | `error?` | `Object` | An object containing an error if present. *Defaults to an `Error` object with a thrown `fetch` error. This is not for API errors (e.g. Status 500 or 400). See `data` for that* | -| `run` | `async () => {}` | A function for bypassing the cache and firing an API call. Can we awaited. | +| `run` | `async () => {}` | A function for bypassing the cache and firing an API call. Can be awaited. | ### oneFetchye @@ -954,7 +954,7 @@ A promise resolving to an object with the below keys: |----------|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `data` | `Object` | A result of a `fetchClient` query. *Defaults to returning `{ status, body, ok, headers }` from `fetchClient` response* | | `error?` | `Object` | An object containing an error if present. *Defaults to an `Error` object with a thrown `fetch` error. This is not for API errors (e.g. Status 500 or 400). See `data` for that* | -| `run` | `async () => {}` | A function for bypassing the cache and firing an API call. Can we awaited. | +| `run` | `async () => {}` | A function for bypassing the cache and firing an API call. Can be awaited. | ### Providers