1 2 3 4 5 6 7 8 9 10 11 12 | import { createStore, combineReducers } from "redux"; import trackFormReducer from "./reducers/trackFormReducer"; const rootReducer = combineReducers({ trackFormReducer: trackFormReducer }); const store = createStore( rootReducer /* preloadedState, */, window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__() ); export default store; |
1 | import { Provider as StoreProvider } from "react-redux"; |
No comments:
Post a Comment