2025-07-25 11:41:12 +08:00

11 lines
299 B
TypeScript

import { configureStore } from '@reduxjs/toolkit';
import workflowReducer from './workflowSlice';
export const store = configureStore({
reducer: {
workflow: workflowReducer,
},
});
export type RootState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch;