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

11 lines
366 B
JavaScript
Raw Normal View History

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