10 lines
303 B
JavaScript
10 lines
303 B
JavaScript
|
import { connect } from 'react-redux';
|
||
|
import { selectClaimForUri } from 'redux/selectors/claims';
|
||
|
import TextareaSuggestionsItem from './view';
|
||
|
|
||
|
const select = (state, props) => ({
|
||
|
claim: props.uri && selectClaimForUri(state, props.uri),
|
||
|
});
|
||
|
|
||
|
export default connect(select)(TextareaSuggestionsItem);
|