2021-09-30 23:30:32 +02:00
|
|
|
import { connect } from 'react-redux';
|
2021-10-08 05:47:39 +02:00
|
|
|
import { makeSelectClaimForUri, makeSelectIsUriResolving } from 'redux/selectors/claims';
|
2021-09-30 23:30:32 +02:00
|
|
|
import ChannelMentionSuggestion from './view';
|
|
|
|
|
|
|
|
const select = (state, props) => ({
|
|
|
|
claim: makeSelectClaimForUri(props.uri)(state),
|
|
|
|
isResolvingUri: makeSelectIsUriResolving(props.uri)(state),
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(select)(ChannelMentionSuggestion);
|