From 0888175b0e3a14b3604eef98446cdd59a6115dc5 Mon Sep 17 00:00:00 2001 From: "Yuichiro Tachibana (Tsuchiya)" Date: Tue, 30 May 2023 06:04:00 +0900 Subject: [PATCH] Fix typo in client/js/README.md (#4310) Co-authored-by: Abubakar Abid --- client/js/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/js/README.md b/client/js/README.md index e2c9273388..76de6516a7 100644 --- a/client/js/README.md +++ b/client/js/README.md @@ -206,7 +206,7 @@ submission.off("/predict", handle_data); ##### `destroy` -The `destroy` method will remove all subscriptions to a job, regardless of whether or not they are `"data"` or `"status"` events. This is a convenience method for when you do not wnat to unsubscribe use the `off` method. +The `destroy` method will remove all subscriptions to a job, regardless of whether or not they are `"data"` or `"status"` events. This is a convenience method for when you do not want to unsubscribe use the `off` method. ```js import { client } from "@gradio/client"; @@ -239,7 +239,7 @@ submission.cancel(); #### `view_api` -The `view_api` method provides details about the API you are connected too. It returns a JavaScript object of all named endpoints, unnamed endpoints and what values they accept and return. This method does not accept arguments. +The `view_api` method provides details about the API you are connected to. It returns a JavaScript object of all named endpoints, unnamed endpoints and what values they accept and return. This method does not accept arguments. ```ts import { client } from "@gradio/client";