@@ -47,10 +47,6 @@ export default class CommunityTimeline extends React.PureComponent {
|
||||
this.props.dispatch(expandCommunityTimeline({ maxId }));
|
||||
}
|
||||
|
||||
shouldUpdateScroll = (prevRouterProps, { location }) => {
|
||||
return !(location.state && location.state.mastodonModalOpen)
|
||||
}
|
||||
|
||||
render () {
|
||||
const { intl } = this.props;
|
||||
|
||||
@@ -66,7 +62,6 @@ export default class CommunityTimeline extends React.PureComponent {
|
||||
timelineId='community'
|
||||
onLoadMore={this.handleLoadMore}
|
||||
scrollKey='standalone_public_timeline'
|
||||
shouldUpdateScroll={this.shouldUpdateScroll}
|
||||
trackScroll={false}
|
||||
/>
|
||||
</Column>
|
||||
|
||||
@@ -41,10 +41,6 @@ export default class HashtagTimeline extends React.PureComponent {
|
||||
this.props.dispatch(expandHashtagTimeline(this.props.hashtag, { maxId }));
|
||||
}
|
||||
|
||||
shouldUpdateScroll = (prevRouterProps, { location }) => {
|
||||
return !(location.state && location.state.mastodonModalOpen)
|
||||
}
|
||||
|
||||
render () {
|
||||
const { hashtag } = this.props;
|
||||
|
||||
@@ -59,7 +55,6 @@ export default class HashtagTimeline extends React.PureComponent {
|
||||
<StatusListContainer
|
||||
trackScroll={false}
|
||||
scrollKey='standalone_hashtag_timeline'
|
||||
shouldUpdateScroll={this.shouldUpdateScroll}
|
||||
timelineId={`hashtag:${hashtag}`}
|
||||
onLoadMore={this.handleLoadMore}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user