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

11 lines
381 B
JavaScript
Raw Normal View History

2021-04-23 21:59:48 +02:00
import { connect } from 'react-redux';
2021-11-10 16:30:58 +01:00
import { selectStakedLevelForChannelUri, selectClaimForUri } from 'redux/selectors/claims';
2021-04-23 21:59:48 +02:00
import LivestreamComment from './view';
const select = (state, props) => ({
claim: selectClaimForUri(state, props.uri),
2021-11-10 16:30:58 +01:00
stakedLevel: selectStakedLevelForChannelUri(state, props.authorUri),
2021-04-23 21:59:48 +02:00
});
export default connect(select)(LivestreamComment);