madiator.com/ui/component/fileViewerEmbeddedTitle/index.js
2021-08-16 12:11:25 +02: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);