From 306a96eec3f266bb2ec1663ae1dd97e5d45e824a Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 7 Mar 2024 16:33:56 +0800 Subject: [PATCH] Need uppercase C,else it'll be true instead of false MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️ --- src/components/search-form.jsx | 2 +- src/components/shortcuts-settings.jsx | 2 +- src/pages/hashtag.jsx | 2 +- src/pages/login.jsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/search-form.jsx b/src/components/search-form.jsx index 22ca88a0..2df8d0ae 100644 --- a/src/components/search-form.jsx +++ b/src/components/search-form.jsx @@ -73,7 +73,7 @@ const SearchForm = forwardRef((props, ref) => { autocomplete="off" autocorrect="off" autocapitalize="off" - spellcheck="false" + spellCheck="false" onSearch={(e) => { if (!e.target.value) { setSearchParams({}); diff --git a/src/components/shortcuts-settings.jsx b/src/components/shortcuts-settings.jsx index c59657e1..94162dff 100644 --- a/src/components/shortcuts-settings.jsx +++ b/src/components/shortcuts-settings.jsx @@ -671,7 +671,7 @@ function ShortcutForm({ } autocorrect="off" autocapitalize="off" - spellcheck={false} + spellCheck={false} pattern={pattern} /> {currentType === 'hashtag' && diff --git a/src/pages/hashtag.jsx b/src/pages/hashtag.jsx index cef670ad..251de1da 100644 --- a/src/pages/hashtag.jsx +++ b/src/pages/hashtag.jsx @@ -285,7 +285,7 @@ function Hashtags({ media: mediaView, columnMode, ...props }) { required autocorrect="off" autocapitalize="off" - spellcheck={false} + spellCheck={false} // no spaces, no hashtags pattern="[^#][^\s#]+[^#]" disabled={reachLimit} diff --git a/src/pages/login.jsx b/src/pages/login.jsx index a7981510..5d53cde0 100644 --- a/src/pages/login.jsx +++ b/src/pages/login.jsx @@ -160,7 +160,7 @@ function Login() { autocorrect="off" autocapitalize="off" autocomplete="off" - spellcheck={false} + spellCheck={false} placeholder="instance domain" onInput={(e) => { setInstanceText(e.target.value);