]> cat aescling's git repositories - mastodon.git/commitdiff
Fix incorrect PropType in Glitch AutosuggestInput
authorslice <ryaneft@gmail.com>
Thu, 30 May 2019 06:38:09 +0000 (23:38 -0700)
committerThibG <thib@sitedethib.com>
Thu, 30 May 2019 07:04:00 +0000 (09:04 +0200)
app/javascript/flavours/glitch/components/autosuggest_input.js

index ca0dcb64fb21df3f407a55185f48025817720305..5fc952d8ea953cf323d0864a5a4b7887c78af6ae 100644 (file)
@@ -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,
   };