about summary refs log tree commit diff
path: root/app/assets/javascripts/components
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-15 16:57:10 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-15 16:57:10 +0200
commitdf2c0b8dad40c8f8bcf7a201a0f2827e97bf506b (patch)
tree500cb50429dae0fd1039d975ddf2aebb1c1f7dbb /app/assets/javascripts/components
parent04bfd4262f985332619dea5039404d087d20302e (diff)
Fix typo
Diffstat (limited to 'app/assets/javascripts/components')
-rw-r--r--app/assets/javascripts/components/features/compose/components/suggestions_box.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/compose/components/suggestions_box.jsx b/app/assets/javascripts/components/features/compose/components/suggestions_box.jsx
index 3991fee4d..50229eb69 100644
--- a/app/assets/javascripts/components/features/compose/components/suggestions_box.jsx
+++ b/app/assets/javascripts/components/features/compose/components/suggestions_box.jsx
@@ -52,7 +52,7 @@ const SuggestionsBox = React.createClass({
   render () {
     const accounts = this.props.accounts.take(3);
 
-    if (account.size === 0) {
+    if (accounts.size === 0) {
       return <div />;
     }