diff --git a/src/components/Dashboard/Dashboard.jsx b/src/components/Dashboard/Dashboard.jsx
index a352f5a5..e4ac83ef 100644
--- a/src/components/Dashboard/Dashboard.jsx
+++ b/src/components/Dashboard/Dashboard.jsx
@@ -8,6 +8,7 @@ import {
useDashboardTeamsCardData,
useDashboardTasksCardData,
} from "../../hooks/useDashboard_Data";
+import Teams from "./Teams";
const Dashboard = () => {
const { projects, loading } = useProjects();
@@ -120,28 +121,8 @@ const Dashboard = () => {
{/* Teams Card */}
-
-
-
-
- Teams
-
-
-
-
-
- {teamsCardData.totalEmployees?.toLocaleString()}
-
- Total Employees
-
-
-
- {teamsCardData.inToday?.toLocaleString()}
-
- In Today
-
-
-
+
+ {/* Use the Teams component */}
{/* Tasks Card */}
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