2016-09-13 18:05:20 +02:00
|
|
|
import { combineReducers } from 'redux';
|
2021-05-31 16:46:41 +02:00
|
|
|
|
2022-09-28 20:04:00 -06:00
|
|
|
import snackbarReducer from '../store/slices/snackbars';
|
2019-03-18 12:47:58 -07:00
|
|
|
import reducers from './index';
|
2016-09-13 18:05:20 +02:00
|
|
|
|
2021-03-11 15:40:12 +02:00
|
|
|
function createRootReducer() {
|
2020-10-21 20:30:55 +02:00
|
|
|
return combineReducers({
|
|
|
|
...reducers,
|
2022-09-28 20:04:00 -06:00
|
|
|
snackbar: snackbarReducer,
|
2020-10-21 20:30:55 +02:00
|
|
|
});
|
2021-02-08 20:01:21 +02:00
|
|
|
}
|
2020-07-09 19:08:18 +03:00
|
|
|
|
|
|
|
export default createRootReducer;
|