{"size": 538, "ext": "js", "max_stars_repo_path": "src/star/ui/revokeOfferbutton/RevokeOfferButtonContainer.js", "max_stars_repo_name": "Muuuchem/ico.github.io", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/star/ui/revokeOfferbutton/RevokeOfferButtonContainer.js", "max_issues_repo_name": "Muuuchem/ico.github.io", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/star/ui/revokeOfferbutton/RevokeOfferButtonContainer.js", "max_forks_repo_name": "Muuuchem/ico.github.io", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.52, "max_line_length": 56, "alphanum_fraction": 0.7304832714}
import { connect } from 'react-redux'
import RevokeOfferButton from './RevokeOfferButton'
import { revokeOffer } from './RevokeOfferButtonActions'

const mapStateToProps = (state, ownProps) => {
  return {}
}

const mapDispatchToProps = (dispatch) => {
  return {
    onRevokeOffer: (event, starIndex) => {
      event.preventDefault();

      dispatch(revokeOffer(starIndex))
    }
  }
}

const RevokeOfferButtonContainer = connect(
  mapStateToProps,
  mapDispatchToProps
)(RevokeOfferButton)

export default RevokeOfferButtonContainer
