import { configureStore } from '@reduxjs/toolkit';
import categoryListReducer from './reducers/category-list';
import commonSettingsReducer from './reducers/common-settings';
import otherSettingsReducer from './reducers/other-settings';
import categorySettingsReducer from './reducers/category-settings';
import holidaySettingsReducer from './reducers/holiday-settings';

const store = configureStore({
  reducer: {
    categories: categoryListReducer,
    commonSettings: commonSettingsReducer,
    otherSettings: otherSettingsReducer,
    categorySettings: categorySettingsReducer,
    holidaySettings: holidaySettingsReducer,
  }
});

export default store;