aa8b26b5ca
Make immediate GUI feedback to convey the current status, which can be the following: - typing - waiting lighthouse results - waiting claim resolve - no results or failed.
10 lines
366 B
JavaScript
10 lines
366 B
JavaScript
import { connect } from 'react-redux';
|
|
import { makeSelectClaimForUri, makeSelectIsUriResolving } from 'lbry-redux';
|
|
import WunderbarSuggestion from './view';
|
|
|
|
const select = (state, props) => ({
|
|
claim: makeSelectClaimForUri(props.uri)(state),
|
|
isResolvingUri: makeSelectIsUriResolving(props.uri)(state),
|
|
});
|
|
|
|
export default connect(select)(WunderbarSuggestion);
|