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

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

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

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

export default configureStore({ reducer });