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

import hostManagementReducer from './managementSlice';

export const store = configureStore({
  reducer: {
    hostManagement: hostManagementReducer,
  },
});

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

export default store;
