12 lines
291 B
JavaScript
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);
|