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

10 lines
279 B
JavaScript
Raw Normal View History

2020-01-06 19:32:35 +01:00
import { connect } from 'react-redux';
import { makeSelectChannelForClaimUri } from 'lbry-redux';
import FileAuthor from './view';
const select = (state, props) => ({
channelUri: makeSelectChannelForClaimUri(props.uri)(state),
});
export default connect(select)(FileAuthor);