2020-12-03 12:29:47 -05:00
|
|
|
import { connect } from 'react-redux';
|
2021-06-23 14:44:10 +08:00
|
|
|
import { makeSelectClaimForUri, makeSelectIsUriResolving } from 'lbry-redux';
|
2020-12-03 12:29:47 -05:00
|
|
|
import WunderbarSuggestion from './view';
|
|
|
|
|
|
|
|
const select = (state, props) => ({
|
|
|
|
claim: makeSelectClaimForUri(props.uri)(state),
|
2021-06-23 14:44:10 +08:00
|
|
|
isResolvingUri: makeSelectIsUriResolving(props.uri)(state),
|
2020-12-03 12:29:47 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
export default connect(select)(WunderbarSuggestion);
|