import { configureStore } from '@reduxjs/toolkit'
import conversationReducer from './conversationSlice'

export const store = configureStore({
  reducer: {
    conversation: conversationReducer,
  },
})
// 为了在TypeScript中使用，我们导出这些类型
export type RootState = ReturnType<typeof store.getState>
export type AppDispatch = typeof store.dispatch
