madiator.com/ui/component/claimAuthor/index.js

10 lines
281 B
JavaScript
Raw Normal View History

2021-08-16 12:11:25 +02:00
import { connect } from 'react-redux';
import { makeSelectChannelForClaimUri } from 'lbry-redux';
import ClaimAuthor from './view';
const select = (state, props) => ({
channelUri: makeSelectChannelForClaimUri(props.uri)(state),
});
export default connect(select)(ClaimAuthor);