浏览代码

Удалить 'store.js'

Roman456 4 年之前
父节点
当前提交
ebb7ec02cb
共有 1 个文件被更改,包括 0 次插入12 次删除
  1. 0 12
      store.js

+ 0 - 12
store.js

@@ -1,12 +0,0 @@
-import { createStore, combineReducers, applyMiddleware, compose } from "redux";
-import mainReducer from "./reducers/mainReducer";
-import thunk from "redux-thunk";
-
-const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
-
-const enhancer = composeEnhancers(applyMiddleware(thunk));
-
-const store = createStore(mainReducer, enhancer); //вторым параметром идет
-
-
-export default store;