2017-12-21 22:08:54 +01:00
|
|
|
import { connect } from 'react-redux';
|
2019-06-19 07:05:43 +02:00
|
|
|
import ClaimList from './view';
|
2021-04-29 09:22:56 +02:00
|
|
|
import { SETTINGS, selectClaimSearchByQuery, selectClaimsByUri } from 'lbry-redux';
|
2021-02-18 09:55:29 +01:00
|
|
|
import { makeSelectClientSetting } from 'redux/selectors/settings';
|
2017-04-23 18:10:45 +02:00
|
|
|
|
2021-02-18 09:55:29 +01:00
|
|
|
const select = (state) => ({
|
|
|
|
searchInLanguage: makeSelectClientSetting(SETTINGS.SEARCH_IN_LANGUAGE)(state),
|
2021-04-29 09:22:56 +02:00
|
|
|
claimSearchByQuery: selectClaimSearchByQuery(state),
|
|
|
|
claimsByUri: selectClaimsByUri(state),
|
2021-02-18 09:55:29 +01:00
|
|
|
});
|
2017-04-30 18:01:43 +02:00
|
|
|
|
2021-02-18 09:55:29 +01:00
|
|
|
const perform = (dispatch) => ({});
|
2017-04-30 18:01:43 +02:00
|
|
|
|
2021-02-18 09:55:29 +01:00
|
|
|
export default connect(select, perform)(ClaimList);
|