Refactor initial state: reduce_motion and auto_play_gif (#5501)
This commit is contained in:
		
					parent
					
						
							
								e4080772b5
							
						
					
				
			
			
				commit
				
					
						3de22a82bf
					
				
			
		
					 13 changed files with 27 additions and 52 deletions
				
			
		|  | @ -22,7 +22,6 @@ export default class DetailedStatus extends ImmutablePureComponent { | |||
|     status: ImmutablePropTypes.map.isRequired, | ||||
|     onOpenMedia: PropTypes.func.isRequired, | ||||
|     onOpenVideo: PropTypes.func.isRequired, | ||||
|     autoPlayGif: PropTypes.bool, | ||||
|   }; | ||||
| 
 | ||||
|   handleAccountClick = (e) => { | ||||
|  | @ -70,7 +69,6 @@ export default class DetailedStatus extends ImmutablePureComponent { | |||
|             media={status.get('media_attachments')} | ||||
|             height={300} | ||||
|             onOpenMedia={this.props.onOpenMedia} | ||||
|             autoPlayGif={this.props.autoPlayGif} | ||||
|           /> | ||||
|         ); | ||||
|       } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue