aboutsummaryrefslogtreecommitdiff
path: root/modern/src/store/index.js
blob: 86de31a9f10001c2fe91789e11022c207be05491 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { combineReducers, configureStore } from '@reduxjs/toolkit';

import { devicesReducer as devices } from './devices';
import { positionsReducer as positions } from './positions';

const reducer = combineReducers({
  devices,
  positions,
});

export { devicesActions } from './devices';
export { positionsActions } from './positions';

export default configureStore({ reducer });