From 17c1d3d2070ee0c060c3e71a9e5868f004b2b034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Oliva?= Date: Tue, 16 May 2023 19:52:29 -0600 Subject: Start point. Visit https://github.com/nvh95/vite-react-template-redux to see original template. --- src/app/store.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/app/store.js (limited to 'src/app') 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, + }, +}); -- cgit v1.2.3