2018-02-07 10:52:09 -08:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import View from './view';
|
2018-02-14 18:02:10 -08:00
|
|
|
import { selectAsset } from 'selectors/show';
|
2018-01-30 09:00:02 -08:00
|
|
|
|
2018-02-07 10:52:09 -08:00
|
|
|
const mapStateToProps = ({ show }) => {
|
2018-02-14 12:30:30 -08:00
|
|
|
const { claimData: { title } } = selectAsset(show);
|
2018-02-12 20:01:02 -08:00
|
|
|
return {
|
|
|
|
title,
|
2018-02-07 10:52:09 -08:00
|
|
|
};
|
2018-01-30 09:00:02 -08:00
|
|
|
};
|
|
|
|
|
2018-02-07 10:52:09 -08:00
|
|
|
export default connect(mapStateToProps, null)(View);
|