lbry-desktop/ui/component/fileTitle/index.js
2021-03-11 14:12:59 -05:00

9 lines
272 B
JavaScript

import { connect } from 'react-redux';
import { makeSelectTitleForUri } from 'lbry-redux';
import FileTitleSection from './view';
const select = (state, props) => ({
title: makeSelectTitleForUri(props.uri)(state),
});
export default connect(select)(FileTitleSection);