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-18 01:44:26 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-18 01:44:31 +0200
commitb62c31306e5e9670b8b285ea5885a15f59ec089b (patch)
treea974082c0c9d94503d299c3c61b81af72d3b1eda /app/assets/javascripts/components
parentf8b9b0810d1f1abbea53bc5930a0a0fe6dc8e538 (diff)
This should fix it
Diffstat (limited to 'app/assets/javascripts/components')
-rw-r--r--app/assets/javascripts/components/components/status.jsx4
-rw-r--r--app/assets/javascripts/components/selectors/index.jsx2
2 files changed, 1 insertions, 5 deletions
diff --git a/app/assets/javascripts/components/components/status.jsx b/app/assets/javascripts/components/components/status.jsx
index 6e4c9651d..8855c6c12 100644
--- a/app/assets/javascripts/components/components/status.jsx
+++ b/app/assets/javascripts/components/components/status.jsx
@@ -44,9 +44,7 @@ const Status = React.createClass({
     let media = '';
     let { status, ...other } = this.props;
 
-    if (status.get('reblog', null) !== null) {
-      console.log(status.get('id'), status.get('reblog'));
-
+    if (status.get('reblog', null) !== null && typeof status.get('reblog') === 'object') {
       let displayName = status.getIn(['account', 'display_name']);
 
       if (displayName.length === 0) {
diff --git a/app/assets/javascripts/components/selectors/index.jsx b/app/assets/javascripts/components/selectors/index.jsx
index 6980b9ec3..91f900f90 100644
--- a/app/assets/javascripts/components/selectors/index.jsx
+++ b/app/assets/javascripts/components/selectors/index.jsx
@@ -45,8 +45,6 @@ const assembleStatus = (id, statuses, accounts) => {
     }
   }
 
-  console.log('assembly for status', id, Immutable.Map.isMap(reblog) ? reblog.toJS() : reblog);
-
   return status.set('reblog', reblog).set('account', accounts.get(status.get('account')));
 };