aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/app/store.js8
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,
+ },
+});