2018-02-01 23:29:33 +01:00
|
|
|
import { connect } from 'react-redux';
|
2018-02-23 00:43:26 +01:00
|
|
|
import { onHandleShowPageUri } from 'actions/show';
|
2018-02-01 23:29:33 +01:00
|
|
|
import View from './view';
|
|
|
|
|
|
|
|
const mapStateToProps = ({ show }) => {
|
|
|
|
return {
|
2018-02-07 20:30:39 +01:00
|
|
|
error : show.request.error,
|
2018-02-07 19:52:09 +01:00
|
|
|
requestType: show.request.type,
|
2018-02-01 23:29:33 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-02-14 20:39:24 +01:00
|
|
|
const mapDispatchToProps = {
|
2018-02-23 00:43:26 +01:00
|
|
|
onHandleShowPageUri,
|
2018-02-01 23:29:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export default connect(mapStateToProps, mapDispatchToProps)(View);
|