Redux: Fixed function adding a new reducer (#21575)

pull/20300/head
Torkel Ödegaard 5 years ago committed by GitHub
parent 66d8871415
commit 5af7b15c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      public/app/core/reducers/root.ts

@ -32,8 +32,8 @@ const rootReducers = {
const addedReducers = {};
export const addReducer = (addedReducer: any) => {
Object.assign(addedReducers, ...addedReducer);
export const addReducer = (newReducers: any) => {
Object.assign(addedReducers, newReducers);
};
export const createRootReducer = () => {

Loading…
Cancel
Save