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