소스 검색

Удалить '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;