Common components refactor #1

Merged
akinwale merged 42 commits from common-components-refactor into master 2018-04-05 04:57:30 +02:00
2 changed files with 3 additions and 5 deletions
Showing only changes of commit 8002bde5b7 - Show all commits

View file

@ -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

View file

@ -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) => {