parent
							
								
									0e0e0d5718
								
							
						
					
					
						commit
						3bf93a3612
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		|  | @ -231,7 +231,13 @@ export default class Status extends ImmutablePureComponent { | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   handleModalReblog = (status) => { |   handleModalReblog = (status) => { | ||||||
|     this.props.dispatch(reblog(status)); |     const { dispatch } = this.props; | ||||||
|  | 
 | ||||||
|  |     if (status.get('reblogged')) { | ||||||
|  |       dispatch(unreblog(status)); | ||||||
|  |     } else { | ||||||
|  |       dispatch(reblog(status)); | ||||||
|  |     } | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   handleReblogClick = (status, e) => { |   handleReblogClick = (status, e) => { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue