2021-12-02 17:49:13 +01:00
|
|
|
import { connect } from 'react-redux';
|
2021-12-06 18:28:36 +01:00
|
|
|
import { selectClaimForUri } from 'redux/selectors/claims';
|
2021-12-02 17:49:13 +01:00
|
|
|
import TextareaSuggestionsItem from './view';
|
|
|
|
|
|
|
|
const select = (state, props) => ({
|
|
|
|
claim: props.uri && selectClaimForUri(state, props.uri),
|
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(select)(TextareaSuggestionsItem);
|