about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Schmidt <github@chsc.dk>2023-02-17 09:51:27 +0100
committerClaire <claire.github-309c@sitedethib.com>2023-02-19 10:53:44 +0100
commit229ab559dc96f53d05600514dc9f93d1cdc006bd (patch)
tree9c6767aa1b2f4bd850fa6b9e9071555bc13f2164
parent6fdd596cc88622abc585ef3da96699f8f987dfb5 (diff)
[Glitch] Fix bad type for spellCheck attribute
Port cde13349cb0ad8e280156cef7fc50692f943b0b2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
-rw-r--r--app/javascript/flavours/glitch/components/autosuggest_input.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/autosuggest_input.js b/app/javascript/flavours/glitch/components/autosuggest_input.js
index 1a030fb85..90ff298c0 100644
--- a/app/javascript/flavours/glitch/components/autosuggest_input.js
+++ b/app/javascript/flavours/glitch/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 = {