aboutsummaryrefslogtreecommitdiff
path: root/modern/src/store/modules/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/store/modules/index.js')
-rw-r--r--modern/src/store/modules/index.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/modern/src/store/modules/index.js b/modern/src/store/modules/index.js
new file mode 100644
index 00000000..e2037c72
--- /dev/null
+++ b/modern/src/store/modules/index.js
@@ -0,0 +1,12 @@
+import { combineReducers } from '@reduxjs/toolkit';
+
+import { devicesReducer as devices } from './devices';
+import { positionsReducer as positions } from './positions';
+
+export const rootReducer = combineReducers({
+ devices,
+ positions,
+});
+
+export { devicesActions } from './devices';
+export { positionsActions } from './positions';