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