spee.ch/react/components/AssetInfo/index.js

11 lines
226 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
import View from './view';
const mapStateToProps = ({ show }) => {
return {
2018-02-09 01:23:09 +01:00
asset: show.assetList[show.showAsset.id],
};
2018-02-05 01:40:28 +01:00
};
export default connect(mapStateToProps, null)(View);