Add interaction modal to logged-out web UI (#19306)
This commit is contained in:
		@@ -237,6 +237,14 @@ const mapDispatchToProps = (dispatch, { intl, contextType }) => ({
 | 
			
		||||
    dispatch(deployPictureInPicture(status.get('id'), status.getIn(['account', 'id']), type, mediaProps));
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  onInteractionModal (type, status) {
 | 
			
		||||
    dispatch(openModal('INTERACTION', {
 | 
			
		||||
      type,
 | 
			
		||||
      accountId: status.getIn(['account', 'id']),
 | 
			
		||||
      url: status.get('url'),
 | 
			
		||||
    }));
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
export default injectIntl(connect(makeMapStateToProps, mapDispatchToProps)(Status));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user