You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import { connect } from 'react-redux'
|
|
|
|
import { fetchInvoices } from '../../../reducers/invoice'
|
|
|
|
import { fetchPayments } from '../../../reducers/payment'
|
|
|
|
import Activity from '../components/Activity'
|
|
|
|
|
|
|
|
const mapDispatchToProps = {
|
|
|
|
fetchPayments,
|
|
|
|
fetchInvoices
|
|
|
|
}
|
|
|
|
|
|
|
|
const mapStateToProps = (state) => ({
|
|
|
|
activity: state.activity,
|
|
|
|
payment: state.payment,
|
|
|
|
invoice: state.invoice,
|
|
|
|
ticker: state.ticker
|
|
|
|
})
|
|
|
|
|
|
|
|
export default connect(mapStateToProps, mapDispatchToProps)(Activity)
|