Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { makeAsyncReducer } from "redux-toolbelt";
import actions from "./Actions";
const chartsReducer = makeAsyncReducer(actions.getChartData);
const generalReducer = makeAsyncReducer(actions.getGeneral);
export default {
chartsReducer,
generalReducer
};
import { makeAsyncReducer } from "redux-toolbelt";
import actions from "./Actions";
const chartsReducer = makeAsyncReducer(actions.getChartData);
const generalReducer = makeAsyncReducer(actions.getGeneral);
export default {
chartsReducer,
generalReducer
};