17 lines
461 B
JavaScript
17 lines
461 B
JavaScript
import { connect } from 'react-redux';
|
|
import { handleShowPageUri } from 'actions/show';
|
|
// import { onRequestError, onNewChannelRequest, onNewAssetRequest } from 'actions/show';
|
|
import View from './view';
|
|
|
|
const mapStateToProps = ({ show }) => {
|
|
return {
|
|
error : show.request.error,
|
|
requestType: show.request.type,
|
|
};
|
|
};
|
|
|
|
const mapDispatchToProps = {
|
|
handleShowPageUri,
|
|
};
|
|
|
|
export default connect(mapStateToProps, mapDispatchToProps)(View);
|