import {applyMiddleware, combineReducers,createStore} from "redux";
import {composeWithDevTools} from 'redux-devtools-extension'
import thunk from "redux-thunk"
import projectReduser from "./projR";
import userReduser from "./userR";

const rootReduser = combineReducers({
    user: userReduser,
    project: projectReduser
})
export const store= createStore(rootReduser,composeWithDevTools(applyMiddleware(thunk)))