Fix pinned hashtag columns fully refreshing unprompted (#36497)
This commit is contained in:
@@ -142,7 +142,7 @@ class HashtagTimeline extends PureComponent {
|
|||||||
const { params, local } = this.props;
|
const { params, local } = this.props;
|
||||||
const { id, tags } = prevProps.params;
|
const { id, tags } = prevProps.params;
|
||||||
|
|
||||||
if (id !== params.id || !isEqual(tags, params.tags) || !isEqual(local, params.local)) {
|
if (id !== params.id || !isEqual(tags, params.tags) || !isEqual(local, prevProps.local)) {
|
||||||
this._unload();
|
this._unload();
|
||||||
this._load();
|
this._load();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user