2020-04-01 14:43:50 -04:00
|
|
|
import { connect } from 'react-redux';
|
2021-11-16 12:23:18 +08:00
|
|
|
import { selectTitleForUri } from 'redux/selectors/claims';
|
2021-03-11 12:08:11 -05:00
|
|
|
import FileTitleSection from './view';
|
2020-04-01 14:43:50 -04:00
|
|
|
|
|
|
|
const select = (state, props) => ({
|
2021-11-16 12:23:18 +08:00
|
|
|
title: selectTitleForUri(state, props.uri),
|
2020-04-01 14:43:50 -04:00
|
|
|
});
|
|
|
|
|
2021-03-11 12:08:11 -05:00
|
|
|
export default connect(select)(FileTitleSection);
|