mirror of
https://github.com/status-im/keycard-redeem.git
synced 2025-03-04 05:40:33 +00:00
18 lines
367 B
JavaScript
18 lines
367 B
JavaScript
import { connect } from 'react-redux';
|
|
import App from '../components/App';
|
|
|
|
const mapStateToProps = state => ({
|
|
initialized: state.web3.networkID,
|
|
networkID: state.web3.networkID,
|
|
account: state.web3.account,
|
|
error: state.web3.error,
|
|
});
|
|
|
|
const mapDispatchToProps = dispatch => ({
|
|
});
|
|
|
|
export default connect(
|
|
mapStateToProps,
|
|
mapDispatchToProps
|
|
)(App);
|