a4add6eab6
This list is not using ClaimPreview or ClaimPreviewTile, so the filtering was missed.
21 lines
591 B
JavaScript
21 lines
591 B
JavaScript
import { connect } from 'react-redux';
|
|
import {
|
|
selectClaimForUri,
|
|
selectGeoRestrictionForUri,
|
|
selectIsUriResolving,
|
|
selectOdyseeMembershipForUri,
|
|
} from 'redux/selectors/claims';
|
|
import WunderbarSuggestion from './view';
|
|
|
|
const select = (state, props) => {
|
|
const { uri } = props;
|
|
|
|
return {
|
|
claim: selectClaimForUri(state, uri),
|
|
isResolvingUri: selectIsUriResolving(state, uri),
|
|
geoRestriction: selectGeoRestrictionForUri(state, props.uri),
|
|
odyseeMembership: selectOdyseeMembershipForUri(state, uri),
|
|
};
|
|
};
|
|
|
|
export default connect(select)(WunderbarSuggestion);
|