diff --git a/src/components/Dashboard/Dashboard.jsx b/src/components/Dashboard/Dashboard.jsx index a352f5a5..e53175de 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 Projects from "./Projects"; const Dashboard = () => { const { projects, loading } = useProjects(); @@ -93,30 +94,9 @@ const Dashboard = () => { return (
- {/* Projects Card */} + {/* Projects Card */}
-
-
-
- {" "} - Projects -
-
-
-
-

- {projectsCardData.totalProjects?.toLocaleString()} -

- Total -
-
-

- {projectsCardData.ongoingProjects?.toLocaleString()} -

- Ongoing -
-
-
+
{/* Teams Card */} @@ -209,7 +189,7 @@ const Dashboard = () => { {selectedProjectId === "all" ? "All Projects" : projects?.find((p) => p.id === selectedProjectId) - ?.name || "Select Project"} + ?.name || "Select Project"}