2021-09-30 23:30:32 +02:00
|
|
|
import { connect } from 'react-redux';
|
2021-10-17 10:36:14 +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);
|