Update reduce-reducers init function

pull/5869/head
Viktor Baranov 2 years ago
parent 6dbcdd9db6
commit d99bc9638a
  1. 2
      apps/block_scout_web/assets/js/lib/random_access_pagination.js

@ -227,7 +227,7 @@ export const elements = {
*/ */
export function createAsyncLoadStore (reducer, initialState, itemKey) { export function createAsyncLoadStore (reducer, initialState, itemKey) {
const state = merge(asyncInitialState, initialState) const state = merge(asyncInitialState, initialState)
const store = createStore(reduceReducers(asyncReducer, reducer, state)) const store = createStore(reduceReducers(state, asyncReducer, reducer))
if (typeof itemKey !== 'undefined') { if (typeof itemKey !== 'undefined') {
store.dispatch({ store.dispatch({

Loading…
Cancel
Save