chore: transfer repo
This commit is contained in:
11
lib/redux/store.ts
Normal file
11
lib/redux/store.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user