blob: be95ef7a6d3f8fe0ae0cec7ad51c73bbb10f5644 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import { configureStore } from '@reduxjs/toolkit'
import authReducer from './authSlice'
import componentPropertiesReducer from './componentPropertiesSlice'
import dashboardReducer from './dashboardSlice'
import saveSchematicReducer from './saveSchematicSlice'
import schematicEditorReducer from './schematicEditorSlice'
import simulationReducer from './simulationSlice'
const store = configureStore({
reducer: {
auth: authReducer,
componentProperties: componentPropertiesReducer,
dashboard: dashboardReducer,
saveSchematic: saveSchematicReducer,
schematicEditor: schematicEditorReducer,
simulation: simulationReducer
},
middleware: (getDefaultMiddleware) => getDefaultMiddleware()
})
export default store
|