about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/components/autosuggest_input.js
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-05-23 01:35:22 +0200
committerThibG <thib@sitedethib.com>2019-06-13 22:15:31 +0200
commit610b4b44c4f70583f2f3082dc8f494fadb0681ef (patch)
tree4e7f102bb9fd89cadf698b903e63e3303e137f48 /app/javascript/flavours/glitch/components/autosuggest_input.js
parentfe5c4f976cf7f447a0db6a7e32fce992431fffd6 (diff)
[Glitch] Add single-column mode
Port 9ddeb30f90f9402eb567c88354d4956fcfdf0361 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/components/autosuggest_input.js')
-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 5fc952d8e..a6ae3bc75 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.arrayOf(PropTypes.string),
+    searchTokens: ImmutablePropTypes.list,
     maxLength: PropTypes.number,
   };