lbry-desktop/ui/component/fileViewerEmbeddedTitle/index.js

10 lines
278 B
JavaScript
Raw Permalink Normal View History

2020-04-14 01:48:11 +02:00
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);