about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Schmidt <github@chsc.dk>2023-02-17 09:51:27 +0100
committerGitHub <noreply@github.com>2023-02-17 09:51:27 +0100
commitcde13349cb0ad8e280156cef7fc50692f943b0b2 (patch)
tree7c676cce33f99a49fbf04a12c204007bdfb560c2
parent2e938865378aa1b6ee014184dccb6f196f038c31 (diff)
Fix bad type for spellCheck attribute (#23638)
-rw-r--r--app/javascript/mastodon/components/autosuggest_input.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/autosuggest_input.js b/app/javascript/mastodon/components/autosuggest_input.js
index 8d2ddb411..f9616c581 100644
--- a/app/javascript/mastodon/components/autosuggest_input.js
+++ b/app/javascript/mastodon/components/autosuggest_input.js
@@ -51,7 +51,7 @@ export default class AutosuggestInput extends ImmutablePureComponent {
     searchTokens: PropTypes.arrayOf(PropTypes.string),
     maxLength: PropTypes.number,
     lang: PropTypes.string,
-    spellCheck: PropTypes.string,
+    spellCheck: PropTypes.bool,
   };
 
   static defaultProps = {