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