Files
HKSingleParty/03_source/frontend/src/pages/dashboard/job/details.tsx
2025-05-28 09:55:51 +08:00

25 lines
581 B
TypeScript

import { useParams } from 'src/routes/hooks';
import { _jobs } from 'src/_mock/_job';
import { CONFIG } from 'src/global-config';
import { JobDetailsView } from 'src/sections/job/view';
// ----------------------------------------------------------------------
const metadata = { title: `Job details | Dashboard - ${CONFIG.appName}` };
export default function Page() {
const { id = '' } = useParams();
const currentJob = _jobs.find((job) => job.id === id);
return (
<>
<title>{metadata.title}</title>
<JobDetailsView job={currentJob} />
</>
);
}