new
This commit is contained in:
parent
e2663b9e80
commit
b1e6917e2a
@ -47,7 +47,6 @@
|
||||
"react-redux": "^9.1.2",
|
||||
"react-router-dom": "^6.23.1",
|
||||
"redux": "^5.0.1",
|
||||
"redux-devtools-extension": "^2.13.9",
|
||||
"redux-thunk": "^3.1.0",
|
||||
"simplebar-react": "^3.2.5",
|
||||
"sweetalert2": "^11.12.3"
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { applyMiddleware, combineReducers, legacy_createStore as createStore } from 'redux'
|
||||
import { cartReducer } from './redux-store/CartStore/ducs'
|
||||
import { thunk } from 'redux-thunk'
|
||||
import { composeWithDevTools } from 'redux-devtools-extension'
|
||||
// import { composeWithDevTools } from 'redux-devtools-extension'
|
||||
|
||||
const initialState = {
|
||||
sidebarShow: true,
|
||||
@ -20,5 +20,5 @@ const rootReducer = combineReducers({
|
||||
cart: cartReducer,
|
||||
changeState: changeState,
|
||||
})
|
||||
const store = createStore(rootReducer, composeWithDevTools(applyMiddleware(thunk)))
|
||||
const store = createStore(rootReducer, applyMiddleware(thunk))
|
||||
export default store
|
||||
|
Loading…
Reference in New Issue
Block a user