Cleanup redundant markup for hidden statuses

local
Thibaut Girka 5 years ago committed by ThibG
parent 405ef5ad37
commit e49e54a5ff
  1. 10
      app/javascript/flavours/glitch/components/status.js

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

Loading…
Cancel
Save