Common components refactor #1
2 changed files with 3 additions and 5 deletions
|
@ -3777,8 +3777,6 @@ var _search2 = __webpack_require__(13);
|
|||
|
||||
var _batchActions = __webpack_require__(9);
|
||||
|
||||
var _batchActions2 = _interopRequireDefault(_batchActions);
|
||||
|
||||
var _handleFetch = __webpack_require__(26);
|
||||
|
||||
var _handleFetch2 = _interopRequireDefault(_handleFetch);
|
||||
|
@ -3839,7 +3837,7 @@ var doSearch = exports.doSearch = function doSearch(rawQuery) {
|
|||
uris: uris
|
||||
}
|
||||
});
|
||||
dispatch(_batchActions2.default.apply(undefined, actions));
|
||||
dispatch(_batchActions.batchActions.apply(undefined, actions));
|
||||
}).catch(function () {
|
||||
dispatch({
|
||||
type: ACTIONS.SEARCH_FAIL
|
||||
|
|
|
@ -4,7 +4,7 @@ import * as SEARCH_TYPES from 'constants/search';
|
|||
import { normalizeURI, buildURI, parseURI } from 'lbryURI';
|
||||
import { doResolveUri } from 'redux/actions/claims';
|
||||
import { makeSelectSearchUris } from 'redux/selectors/search';
|
||||
import batchActions from 'util/batchActions';
|
||||
import { batchActions } from 'util/batchActions';
|
||||
import handleFetchResponse from 'util/handle-fetch';
|
||||
|
||||
export const doSearch = rawQuery => (dispatch, getState) => {
|
||||
|
|
Loading…
Reference in a new issue