11 lines
376 B
JavaScript
11 lines
376 B
JavaScript
|
import { connect } from 'react-redux';
|
||
|
import { makeSelectClaimForUri, makeSelectIsUriResolving } from 'lbry-redux';
|
||
|
import ChannelMentionSuggestion from './view';
|
||
|
|
||
|
const select = (state, props) => ({
|
||
|
claim: makeSelectClaimForUri(props.uri)(state),
|
||
|
isResolvingUri: makeSelectIsUriResolving(props.uri)(state),
|
||
|
});
|
||
|
|
||
|
export default connect(select)(ChannelMentionSuggestion);
|