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