import { configureStore } from '@reduxjs/toolkit';
import authReducer from './slices/authSlice';
import varroaReducer from './slices/varroaSlice';

export const store = configureStore({
    reducer: {
        auth: authReducer,
        varroa: varroaReducer,
    },
});

export type RootState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch;
