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

const useAllTransactionTagsList = () =>
    ObjectList({
        queryFn: () => TransactionService.getAllTransactionTags(),
        getObjectsFn: response => response.tags,
        queryKey: "getAllTransactionTags",
    });
export default useAllTransactionTagsList;