2017-07-27 20:18:18 +05:30
|
|
|
import React from "react";
|
|
|
|
import { connect } from "react-redux";
|
2017-08-14 15:13:40 +05:30
|
|
|
import { doSendSupport } from "actions/claims";
|
2017-07-27 20:18:18 +05:30
|
|
|
import TipLink from "./view";
|
|
|
|
|
2017-07-28 01:45:13 +05:30
|
|
|
const select = state => ({});
|
2017-07-27 20:18:18 +05:30
|
|
|
|
|
|
|
const perform = dispatch => ({
|
2017-08-14 15:13:40 +05:30
|
|
|
sendSupport: (amount, claim_id) => dispatch(doSendSupport(amount, claim_id)),
|
2017-07-27 20:18:18 +05:30
|
|
|
});
|
|
|
|
|
2017-07-28 01:45:13 +05:30
|
|
|
export default connect(select, perform)(TipLink);
|