diff --git a/src/components/Dashboard/ServiceJobs.jsx b/src/components/Dashboard/ServiceJobs.jsx index e073a424..d69a2faa 100644 --- a/src/components/Dashboard/ServiceJobs.jsx +++ b/src/components/Dashboard/ServiceJobs.jsx @@ -8,11 +8,10 @@ import { useServiceProject } from "../../hooks/useServiceProject"; const ServiceJobs = () => { const { projectId } = useParams(); const { data, isLoading, isError } = useJobsProgression(projectId); - const jobs = data || {}; const { data: projectData, isLoading: projectLoading } = useServiceProject(projectId); const tabMapping = [ - { id: "tab-new", label: "My Jobs", key: "allJobs" }, + { id: "tab-new", label: "My Jobs", key: "myJobs" }, { id: "tab-preparing", label: "Assigned", key: "assignedJobs" }, { id: "tab-shipping", label: "In Progress", key: "inProgressJobs" }, ];