spee.ch/react/components/ShowAssetDetails/index.js
2018-02-08 16:23:09 -08:00

10 lines
226 B
JavaScript

import { connect } from 'react-redux';
import View from './view';
const mapStateToProps = ({ show }) => {
return {
asset: show.assetList[show.showAsset.id],
};
};
export default connect(mapStateToProps, null)(View);