ce1621f7ed
Only picking components that are involved in a livestream for now. Ideally, all usages of `makeSelectClaimForUri` should be replaced -- will do it incrementally.
10 lines
389 B
JavaScript
10 lines
389 B
JavaScript
import { connect } from 'react-redux';
|
|
import { makeSelectStakedLevelForChannelUri, selectClaimForUri } from 'redux/selectors/claims';
|
|
import LivestreamComment from './view';
|
|
|
|
const select = (state, props) => ({
|
|
claim: selectClaimForUri(state, props.uri),
|
|
stakedLevel: makeSelectStakedLevelForChannelUri(props.authorUri)(state),
|
|
});
|
|
|
|
export default connect(select)(LivestreamComment);
|