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

13 lines
367 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
import { doResolveUris } from 'lbry-redux';
import { makeSelectWinningUriForQuery } from 'redux/selectors/search';
import SearchTopClaim from './view';
const select = (state, props) => ({
winningUri: makeSelectWinningUriForQuery(props.query)(state),
});
export default connect(select, {
doResolveUris,
})(SearchTopClaim);