about summary refs log tree commit diff
diff options
context:
space:
mode:
authorslice <ryaneft@gmail.com>2019-05-29 23:38:09 -0700
committermultiple creatures <dev@multiple-creature.party>2019-11-19 15:43:02 -0600
commit5afe3032d597c4924d7910098602960a62c3e3ef (patch)
tree2f2c7d659670a492ee46045b8ba2a4e543823d3b
parent4373ff0614445cbdd0c506f17014fd61e627a982 (diff)
Fix incorrect PropType in Glitch AutosuggestInput
-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 ca0dcb64f..5fc952d8e 100644
--- a/app/javascript/flavours/glitch/components/autosuggest_input.js
+++ b/app/javascript/flavours/glitch/components/autosuggest_input.js
@@ -49,7 +49,7 @@ export default class AutosuggestInput extends ImmutablePureComponent {
     autoFocus: PropTypes.bool,
     className: PropTypes.string,
     id: PropTypes.string,
-    searchTokens: PropTypes.list,
+    searchTokens: PropTypes.arrayOf(PropTypes.string),
     maxLength: PropTypes.number,
   };