spee.ch/client/containers/AssetTitle/index.js
2018-03-16 10:34:26 -07:00

12 lines
291 B
JavaScript

import { connect } from 'react-redux';
import View from './view';
import { selectAsset } from 'selectors/show';
const mapStateToProps = ({ show }) => {
const { claimData: { title } } = selectAsset(show);
return {
title,
};
};
export default connect(mapStateToProps, null)(View);