zepio/app/containers/send.js

15 lines
381 B
JavaScript
Raw Normal View History

2018-12-20 10:56:45 -08:00
// @flow
import { connect } from 'react-redux';
import { SendView } from '../views/send';
import type { AppState } from '../types/app-state';
const mapStateToProps = ({ walletSummary }: AppState) => ({
balance: walletSummary.total,
zecPrice: walletSummary.zecPrice,
addresses: walletSummary.addresses,
});
export const SendContainer = connect(mapStateToProps)(SendView);