Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Remove unused file

fzaninottod9e2c8344ee3
diff --git a/registry.json b/registry.json
index 0345c751..b5e02847 100644
--- a/registry.json
+++ b/registry.json
@@ -567,10 +567,6 @@
"path": "src/components/atomic-crm/dashboard/TasksListFilter.tsx",
"type": "registry:component"
},
- {
- "path": "src/components/atomic-crm/dashboard/TasksListEmpty.tsx",
- "type": "registry:component"
- },
{
"path": "src/components/atomic-crm/dashboard/TasksListByDueDate.tsx",
"type": "registry:component"
diff --git a/src/components/atomic-crm/dashboard/TasksListEmpty.tsx b/src/components/atomic-crm/dashboard/TasksListEmpty.tsx
deleted file mode 100644
index 7b555b34..00000000
--- a/src/components/atomic-crm/dashboard/TasksListEmpty.tsx
+++ /dev/null
@@ -1,22 +0,0 @@
-import { useGetIdentity, useGetList } from "ra-core";
-
-export const TasksListEmpty = () => {
- const { identity } = useGetIdentity();
-
- const { total } = useGetList(
- "tasks",
- {
- pagination: { page: 1, perPage: 1 },
- filter: {
- sales_id: identity?.id,
- },
- },
- { enabled: !!identity },
- );
-
- if (total) return null;
-
- return (
- <p className="text-sm">Tasks added to your contacts will appear here.</p>
- );
-};