import { configureStore } from "@reduxjs/toolkit";

// import userReducer from "./userSlice";

// import approvalReducer from "./approvalSlice";

export const store = configureStore({
  reducer: {
    // userRecordsReducer: userRecordsReducer,
    // user: userReducer,
    // recordsOptionsReducer: userRecordsOptionsReducer,
    // approval: approvalReducer,
    // dashboard: dashboardReducer,
  },
});

export type RootState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch;
export default store;
