[d6876d]: / src / store / store.ts

Download this file

14 lines (11 with data), 403 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import { configureStore } from '@reduxjs/toolkit';
import experimentsReducer from './slices/experimentsSlice';
import pipelineReducer from './slices/pipelineSlice';
export const store = configureStore({
reducer: {
experiments: experimentsReducer,
pipeline: pipelineReducer,
},
});
export type RootState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch;