blob: c7e3b06966c109995738a60033f5f5fba567bb73 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import { connect } from 'react-redux';
import StatsReporter from '../components/StatsReporter';
import { advanceUI, setStats, generateSecretKeys } from '../actions';
const mapStateToProps = (state, ownProps) => ({
});
const mapDispathToProps = (dispatch) => ({
onClick: consent => {
dispatch(advanceUI());
dispatch(setStats(consent));
dispatch(generateSecretKeys(consent))
},
});
export default connect(
null,
mapDispathToProps,
)(StatsReporter);
|