This should fix it

This commit is contained in:
Eugen Rochko
2016-10-18 01:44:26 +02:00
parent f8b9b0810d
commit b62c31306e
2 changed files with 1 additions and 5 deletions

View File

@ -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) {