spee.ch/react/containers/ShowChannel/index.js

12 lines
264 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
import View from './view';
const mapStateToProps = ({ show }) => {
return {
requestName: show.channelRequest.name,
requestId : show.channelRequest.id,
};
};
export default connect(mapStateToProps, null)(View);