Cleanup redundant markup for hidden statuses

th-downstream
Thibaut Girka 6 years ago committed by ThibG
parent f2b7ab4523
commit 18a540da9f

@ -384,15 +384,7 @@ export default class Status extends ImmutablePureComponent {
if (hidden) { if (hidden) {
return ( return (
<div <div ref={this.handleRef}>
ref={this.handleRef}
data-id={status.get('id')}
style={{
height: `${this.height}px`,
opacity: 0,
overflow: 'hidden',
}}
>
{status.getIn(['account', 'display_name']) || status.getIn(['account', 'username'])} {status.getIn(['account', 'display_name']) || status.getIn(['account', 'username'])}
{' '} {' '}
{status.get('content')} {status.get('content')}

Loading…
Cancel
Save