2018-02-01 23:29:33 +01:00
|
|
|
import { connect } from 'react-redux';
|
2018-02-15 02:26:11 +01:00
|
|
|
import { handleShowPageUri } from 'actions/show';
|
|
|
|
// import { onRequestError, onNewChannelRequest, onNewAssetRequest } 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-15 02:26:11 +01:00
|
|
|
handleShowPageUri,
|
2018-02-01 23:29:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
export default connect(mapStateToProps, mapDispatchToProps)(View);
|