2021-09-30 23:30:32 +02:00
|
|
|
import { connect } from 'react-redux';
|
2021-11-16 05:43:28 +01:00
|
|
|
import { selectClaimForUri, selectIsUriResolving } from 'redux/selectors/claims';
|
2021-09-30 23:30:32 +02:00
|
|
|
import ChannelMentionSuggestion from './view';
|
|
|
|
|
|
|
|
const select = (state, props) => ({
|
2021-11-16 05:43:28 +01:00
|
|
|
claim: selectClaimForUri(state, props.uri),
|
|
|
|
isResolvingUri: selectIsUriResolving(state, props.uri),
|
2021-09-30 23:30:32 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(select)(ChannelMentionSuggestion);
|