|
@@ -20,6 +20,7 @@ import actionGoodUpdate from "./actionGoodUpdate";
|
|
import {orderUpdateReducer, actionOrderClear, actionOrderAddNewGood, actionOrderAddOne, actionOrderAddOrder, actionOrderDelete} from "./orderUpdateReduser"
|
|
import {orderUpdateReducer, actionOrderClear, actionOrderAddNewGood, actionOrderAddOne, actionOrderAddOrder, actionOrderDelete} from "./orderUpdateReduser"
|
|
import {actionOrdersFind, actionOrderFindOne} from "./actionOrdersFind";
|
|
import {actionOrdersFind, actionOrderFindOne} from "./actionOrdersFind";
|
|
import actionOrderUpdate from "./actionUpdateOrder";
|
|
import actionOrderUpdate from "./actionUpdateOrder";
|
|
|
|
+import {wishListReducer, actionWishAdd, actionWishDelete} from "./wishListReducer";
|
|
|
|
|
|
|
|
|
|
function promiseReducer(state={}, action){
|
|
function promiseReducer(state={}, action){
|
|
@@ -40,13 +41,14 @@ function promiseReducer(state={}, action){
|
|
promiseRed: promiseReducer,
|
|
promiseRed: promiseReducer,
|
|
auth: authReducer,
|
|
auth: authReducer,
|
|
basket: cartReducer,
|
|
basket: cartReducer,
|
|
- orderUpdateReducer
|
|
|
|
|
|
+ orderUpdateReducer,
|
|
|
|
+ wishListReducer
|
|
}), compose(applyMiddleware(thunk)))
|
|
}), compose(applyMiddleware(thunk)))
|
|
|
|
|
|
export {actionPromise, actionOrdersFind, gql, actionGoods, getData, promiseReducer, store, actionSearch,
|
|
export {actionPromise, actionOrdersFind, gql, actionGoods, getData, promiseReducer, store, actionSearch,
|
|
actionLogin, authReducer, actionAuthLogin, actionAuthLogout, urlUpload, actionGoodCard,
|
|
actionLogin, authReducer, actionAuthLogin, actionAuthLogout, urlUpload, actionGoodCard,
|
|
updateImgAction, actionCartAdd, actionOrderClear, actionCartDelete, actionCartClear, actionOrder,
|
|
updateImgAction, actionCartAdd, actionOrderClear, actionCartDelete, actionCartClear, actionOrder,
|
|
- actionReg, actionOrderUpdate, actionUserFindOne, actionOrderAddNewGood, actionOrderAddOne, orderUpdateReducer, actionOrderAddOrder, actionOrderDelete, actionOrderFindOne, actionUserUpdate, actionSearchUser, actionGoodUpdate};
|
|
|
|
|
|
+ actionReg, actionOrderUpdate, actionUserFindOne, wishListReducer, actionWishAdd, actionWishDelete, actionOrderAddNewGood, actionOrderAddOne, orderUpdateReducer, actionOrderAddOrder, actionOrderDelete, actionOrderFindOne, actionUserUpdate, actionSearchUser, actionGoodUpdate};
|
|
|
|
|
|
|
|
|
|
|
|
|