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