Fix home timeline perpetually reloading when empty (#10130)
Regression from #6876
This commit is contained in:
1 parent
5ecbf4d4c0
commit
3e0ed36e8e
2 files changed
+3
-1
No files matched your search
@@ -16,7 +16,7 @@ const messages = defineMessages({
|
||||
|
||||
const mapStateToProps = state => ({
|
||||
hasUnread: state.getIn(['timelines', 'home', 'unread']) > 0,
|
||||
isPartial: state.getIn(['timelines', 'home', 'items', 0], null) === null,
|
||||
isPartial: state.getIn(['timelines', 'home', 'isPartial']),
|
||||
});
|
||||
|
||||
export default @connect(mapStateToProps)
|
||||
|
||||
Reference in new issue
Block a user