lbry-desktop/ui/component/wunderbarSuggestion/index.js

11 lines
362 B
JavaScript
Raw Normal View History

2020-12-03 18:29:47 +01:00
import { connect } from 'react-redux';
import { selectClaimForUri, selectIsUriResolving } from 'redux/selectors/claims';
2020-12-03 18:29:47 +01:00
import WunderbarSuggestion from './view';
const select = (state, props) => ({
claim: selectClaimForUri(state, props.uri),
isResolvingUri: selectIsUriResolving(state, props.uri),
2020-12-03 18:29:47 +01:00
});
export default connect(select)(WunderbarSuggestion);