lbry-desktop/ui/component/livestreamComment/index.js
2021-11-11 10:23:28 +08:00

10 lines
381 B
JavaScript

import { connect } from 'react-redux';
import { selectStakedLevelForChannelUri, selectClaimForUri } from 'redux/selectors/claims';
import LivestreamComment from './view';
const select = (state, props) => ({
claim: selectClaimForUri(state, props.uri),
stakedLevel: selectStakedLevelForChannelUri(state, props.authorUri),
});
export default connect(select)(LivestreamComment);