lbry-desktop/lbrytv/component/fileViewerEmbeddedTitle/index.js
Jeremy Kauffman 793f622d8d semi-broken
2020-04-29 11:00:42 -04:00

9 lines
278 B
JavaScript

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