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

15 lines
524 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
2019-06-19 07:05:43 +02:00
import ClaimList from './view';
import { SETTINGS, selectClaimSearchByQuery, selectClaimsByUri } from 'lbry-redux';
import { makeSelectClientSetting } from 'redux/selectors/settings';
const select = (state) => ({
searchInLanguage: makeSelectClientSetting(SETTINGS.SEARCH_IN_LANGUAGE)(state),
claimSearchByQuery: selectClaimSearchByQuery(state),
claimsByUri: selectClaimsByUri(state),
});
const perform = (dispatch) => ({});
export default connect(select, perform)(ClaimList);