import ObjectList from "./objectList.tsx";
import {MarketplaceService} from "../client";

const useBaseMarketplacesList = () => ObjectList({
    queryFn: MarketplaceService.getAllBaseMarketplaces,
    getObjectsFn: (response) => response.baseMarketplaces,
    queryKey: "getAllBaseMarketplaces"
})
export default useBaseMarketplacesList;