diff --git a/src/apps/officer-web/Screens/Dashboard/Jobs/JobsPage.tsx b/src/apps/officer-web/Screens/Dashboard/Jobs/JobsPage.tsx index 2b025b3d..af95e1a8 100644 --- a/src/apps/officer-web/Screens/Dashboard/Jobs/JobsPage.tsx +++ b/src/apps/officer-web/Screens/Dashboard/Jobs/JobsPage.tsx @@ -1,5 +1,5 @@ import { useState, useEffect, useCallback, type ReactNode, type MouseEvent } from 'react'; -import { useParams, useNavigate } from 'react-router'; +import { useParams, Link } from 'react-router'; import { Search, CheckCircle2, @@ -97,7 +97,6 @@ const useJobsData = () => { type JobRowProps = { job: JobSummary; onAction: (ev: MouseEvent, job: JobSummary) => void }; const JobRow = ({ job, onAction }: JobRowProps) => { - const navigate = useNavigate(); const { id: activeId } = useParams<{ id: string }>(); const isRunning = job.status === 'running'; const target = basename(job.target); @@ -105,8 +104,8 @@ const JobRow = ({ job, onAction }: JobRowProps) => {