01
This commit is contained in:
1 parent
c39ef2621c
commit
b27f4f2f23
25 files changed
+970
-294
No files matched your search
@@ -0,0 +1,15 @@
|
||||
'use client'
|
||||
|
||||
import { configureStore } from "@reduxjs/toolkit"
|
||||
import couterReducer from "./features/couterSlice"
|
||||
|
||||
|
||||
export const store = configureStore({
|
||||
reducer: {
|
||||
counter: couterReducer
|
||||
},
|
||||
})
|
||||
|
||||
export type RootState = ReturnType<typeof store.getState>
|
||||
export type AppDispatch = typeof store.dispatch
|
||||
|
||||
Reference in new issue
Block a user