diff --git a/src/components/Dashboard/Dashboard.jsx b/src/components/Dashboard/Dashboard.jsx
index 8a702cd5..e4ac83ef 100644
--- a/src/components/Dashboard/Dashboard.jsx
+++ b/src/components/Dashboard/Dashboard.jsx
@@ -8,7 +8,7 @@ import {
useDashboardTeamsCardData,
useDashboardTasksCardData,
} from "../../hooks/useDashboard_Data";
-import TasksCard from "./Tasks";
+import Teams from "./Teams";
const Dashboard = () => {
const { projects, loading } = useProjects();
@@ -121,35 +121,35 @@ const Dashboard = () => {
{/* Teams Card */}
+
+ {/* Use the Teams component */}
+
+
+ {/* Tasks Card */}
- Teams
+ Tasks
- {teamsCardData.totalEmployees?.toLocaleString()}
+ {tasksCardData.totalTasks?.toLocaleString()}
- Total Employees
+ Total
- {teamsCardData.inToday?.toLocaleString()}
+ {tasksCardData.completedTasks?.toLocaleString()}
- In Today
+ Completed
- {/* Tasks Card */}
-
- {/* Use the TasksCard component */}
-
-
{/* Bar Chart */}
diff --git a/src/components/Dashboard/Teams.jsx b/src/components/Dashboard/Teams.jsx
new file mode 100644
index 00000000..52a62e61
--- /dev/null
+++ b/src/components/Dashboard/Teams.jsx
@@ -0,0 +1,32 @@
+import React from "react";
+import { useDashboardTeamsCardData } from "../../hooks/useDashboard_Data";
+
+const Teams = () => {
+ const { teamsCardData } = useDashboardTeamsCardData();
+
+ return (
+
+
+
+ Teams
+
+
+
+
+
+ {teamsCardData.totalEmployees?.toLocaleString()}
+
+ Total Employees
+
+
+
+ {teamsCardData.inToday?.toLocaleString()}
+
+ In Today
+
+
+
+ );
+};
+
+export default Teams;
\ No newline at end of file