Change the hashtag column to not display the hashtag header on pinned columns (#26416)

This commit is contained in:
Claire 2023-08-09 16:32:40 +02:00 committed by GitHub
parent 37a9c48429
commit f08d97c0c2

View file

@ -203,7 +203,7 @@ class HashtagTimeline extends PureComponent {
</ColumnHeader>
<StatusListContainer
prepend={<HashtagHeader tag={tag} disabled={!signedIn} onClick={this.handleFollow} />}
prepend={pinned ? null : <HashtagHeader tag={tag} disabled={!signedIn} onClick={this.handleFollow} />}
alwaysPrepend
trackScroll={!pinned}
scrollKey={`hashtag_timeline-${columnId}`}