import React from 'react';
import { createStore, combineReducers } from 'redux';
import projectReducer from '../reducers/projectReducers';
import sessionReducer from '../reducers/sessionReducer';
// import darkmodeReducer from '../reducers/darkmodeReducer';
import themeReducer from '../reducers/themeReducer';
import globalDataReducer from '../reducers/globalDataReducer';

const rootReducer = combineReducers(
{ 
    projectR:projectReducer,
    sessionR:sessionReducer,
    // darkmodeR:darkmodeReducer,
    themeR:themeReducer,
    globalR:globalDataReducer,
});

const store = createStore(rootReducer);


export default store;
