diff options
author | Adrián Oliva <adrian.oliva@cimat.mx> | 2023-05-16 19:52:29 -0600 |
---|---|---|
committer | Adrián Oliva <adrian.oliva@cimat.mx> | 2023-05-16 19:52:29 -0600 |
commit | 17c1d3d2070ee0c060c3e71a9e5868f004b2b034 (patch) | |
tree | c0e7cf17901196b089291c63e8f97058068aed35 /src/app/store.js | |
download | ToDo-App-FE-17c1d3d2070ee0c060c3e71a9e5868f004b2b034.tar.gz ToDo-App-FE-17c1d3d2070ee0c060c3e71a9e5868f004b2b034.zip |
Start point.
Visit https://github.com/nvh95/vite-react-template-redux to see original
template.
Diffstat (limited to 'src/app/store.js')
-rw-r--r-- | src/app/store.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app/store.js b/src/app/store.js new file mode 100644 index 0000000..f5b8ae3 --- /dev/null +++ b/src/app/store.js @@ -0,0 +1,8 @@ +import { configureStore } from "@reduxjs/toolkit"; +import counterReducer from "../features/counter/counterSlice"; + +export const store = configureStore({ + reducer: { + counter: counterReducer, + }, +}); |