lbry-desktop/ui/component/channelMentionSuggestion/index.js

11 lines
376 B
JavaScript
Raw Normal View History

2021-09-30 21:16:11 +02:00
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);