mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Redux: Fixed function adding a new reducer (#21575)
This commit is contained in:
parent
66d8871415
commit
5af7b15c10
@ -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…
Reference in New Issue
Block a user