Update reduce-reducers init function

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

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

Loading…
Cancel
Save