spee.ch/client/containers/AssetTitle/index.js

13 lines
291 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
import View from './view';
2018-02-15 03:02:10 +01:00
import { selectAsset } from 'selectors/show';
const mapStateToProps = ({ show }) => {
2018-02-14 21:30:30 +01:00
const { claimData: { title } } = selectAsset(show);
2018-02-13 05:01:02 +01:00
return {
title,
};
};
export default connect(mapStateToProps, null)(View);