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; 