spee.ch/react/containers/AssetTitle/index.js
2018-03-07 20:31:10 -08: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);