mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-05 13:51:01 +00:00
23 lines
580 B
JavaScript
23 lines
580 B
JavaScript
/* @flow */
|
|
'use strict';
|
|
|
|
import React, { Component, PropTypes } from 'react';
|
|
import { bindActionCreators } from 'redux';
|
|
import { connect } from 'react-redux';
|
|
|
|
import History from '../components/wallet/History';
|
|
import * as SendFormActions from '../actions/SendFormActions';
|
|
|
|
function mapStateToProps(state, own) {
|
|
return {
|
|
web3: state.web3.web3,
|
|
};
|
|
}
|
|
|
|
function mapDispatchToProps(dispatch) {
|
|
return {
|
|
//sendFormActions: bindActionCreators(SendFormActions, dispatch),
|
|
};
|
|
}
|
|
|
|
export default connect(mapStateToProps, mapDispatchToProps)(History); |