14 lines
281 B
TypeScript
14 lines
281 B
TypeScript
import { combineReducers } from 'redux';
|
|
|
|
import snackbarReducer from '../store/slices/snackbars';
|
|
import reducers from './index';
|
|
|
|
function createRootReducer() {
|
|
return combineReducers({
|
|
...reducers,
|
|
snackbar: snackbarReducer,
|
|
});
|
|
}
|
|
|
|
export default createRootReducer;
|