import { configureStore } from '@reduxjs/toolkit'
import headerSlice from '../Components/features/common/headerSlice'
import modalSlice from '../Components/features/common/modalSlice'
import rightDrawerSlice from '../Components/features/common/rightDrawerSlice'
import leadsSlice from '../Components/features/leads/leadSlice'

const combinedReducer = {
    header: headerSlice,
    rightDrawer: rightDrawerSlice,
    modal: modalSlice,
    lead: leadsSlice
}

export default configureStore({
    reducer: combinedReducer
})