rez-table-listing-mui
Version:
A rez table listing component built on TanStack Table
12 lines (10 loc) • 350 B
text/typescript
import { api } from "../../listing/libs/utils/common";
export const getKanbanData = async (entity_type: string) => {
try {
const response = await api.get(`/lead/getlanes?entity_type=${entity_type}`);
return response.data;
} catch (error) {
console.error("Failed to fetch action category:", error);
throw error;
}
};