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

11 lines
242 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
title: show.assetList[show.showAsset.id].claimData.title,
};
};
export default connect(mapStateToProps, null)(View);