Cleanup redundant markup for hidden statuses
This commit is contained in:
		
							parent
							
								
									f2b7ab4523
								
							
						
					
					
						commit
						18a540da9f
					
				
					 1 changed files with 1 additions and 9 deletions
				
			
		|  | @ -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…
	
		Reference in a new issue