2020-12-03 18:29:47 +01:00
|
|
|
import { connect } from 'react-redux';
|
2021-06-23 08:44:10 +02:00
|
|
|
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),
|
2021-06-23 08:44:10 +02:00
|
|
|
isResolvingUri: makeSelectIsUriResolving(props.uri)(state),
|
2020-12-03 18:29:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(select)(WunderbarSuggestion);
|