import { configureStore } from '@reduxjs/toolkit';
import userReducer from './user';
import scenarioReducer from './scenario';
import counterReducer from './demo';
import permissionReducer from './permission';
import commonReducer from './common';

const store = configureStore({
  reducer: {
    // 添加你的 reducer
    user: userReducer,
    counter: counterReducer,
    scenario: scenarioReducer,
    permission: permissionReducer,
    common: commonReducer,
  },
});

export default store;