mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-24 09:18:06 +01:00
Cleanup redundant markup for hidden statuses
This commit is contained in:
parent
405ef5ad37
commit
e49e54a5ff
1 changed files with 1 additions and 9 deletions
|
@ -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…
Reference in a new issue