Files
sent-shop/lib/redux/store.ts
2026-01-19 20:21:14 +01:00

11 lines
286 B
TypeScript

import { configureStore } from '@reduxjs/toolkit';
import boxReducer from './slices/boxSlice';
export const store = configureStore({
reducer: {
box: boxReducer,
},
});
export type RootState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch;