Files
crm-customer-ui/src/app/redux/store.ts
T
2023-10-14 11:08:42 +03:30

16 lines
319 B
TypeScript

'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