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

11 lines
385 B
JavaScript
Raw Normal View History

2021-04-23 21:59:48 +02:00
import { connect } from 'react-redux';
import { makeSelectStakedLevelForChannelUri, makeSelectClaimForUri } from 'lbry-redux';
import LivestreamComment from './view';
const select = (state, props) => ({
claim: makeSelectClaimForUri(props.uri)(state),
stakedLevel: makeSelectStakedLevelForChannelUri(props.authorUri)(state),
});
export default connect(select)(LivestreamComment);