import { liveStockGetFreezingRequests } from "../../../features/live-stock-support/services/live-stock-get-freezing-requests";
import { liveStockGetInventoryData } from "../../../features/live-stock-support/services/live-stock-get-inventory-data";

export const liveStockExtraReducers = {
  [liveStockGetFreezingRequests.fulfilled]: (state, { payload }) => {
    state.freezingRequests = payload.data;
    state.pending = false;
  },
  [liveStockGetInventoryData.fulfilled]: (state, { payload }) => {
    state.inventoryData = payload.data;
    state.pending = false;
  },
};
