import { configureStore } from '@reduxjs/toolkit';
import userReducer from './user';
import scenarioReducer from './scenario';
import permissionReducer from './permission';
import commonReducer from './common';
import resultReducer from './action_results';
import timeReducer from './time';
import modalReducer from './modal';
import consoleReducer from './console';

const store = configureStore({
  reducer: {
    // 添加你的 reducer
    user: userReducer,
    scenario: scenarioReducer,
    permission: permissionReducer,
    common: commonReducer,
    checkResult: resultReducer,
    codeResult: resultReducer,
    time: timeReducer,
    modal:modalReducer,
    console:consoleReducer
  },
});

export default store;