Fix local timeline showing unread status of TWKN timeline

This commit is contained in:
Eugen Rochko 2017-02-26 01:27:22 +01:00
parent 2c50687279
commit e2209e1104

View file

@ -16,7 +16,7 @@ const messages = defineMessages({
}); });
const mapStateToProps = state => ({ const mapStateToProps = state => ({
hasUnread: state.getIn(['timelines', 'public', 'unread']) > 0, hasUnread: state.getIn(['timelines', 'community', 'unread']) > 0,
accessToken: state.getIn(['meta', 'access_token']) accessToken: state.getIn(['meta', 'access_token'])
}); });