diff --git a/src/app/components/JobsHistory.tsx b/src/app/components/JobsHistory.tsx index 6f5bf02..1192a95 100644 --- a/src/app/components/JobsHistory.tsx +++ b/src/app/components/JobsHistory.tsx @@ -5,7 +5,6 @@ import Col from 'react-bootstrap/Col'; import Row from 'react-bootstrap/Row'; import JobCard from './JobCard'; import { usePersonContext } from './PersonContext'; -import { Job } from '../../PersonalDataTypes'; import { partition } from '../utils'; const entriesPerRow = 2 @@ -13,20 +12,13 @@ const entriesPerRow = 2 export default function JobsHistory() { const person = usePersonContext() - function JobEntry(job: Job, heading?: string) { - return - } - return (

Experience

{person.jobs.current && ( - {JobEntry(person.jobs.current, 'Current position')} + )} @@ -34,11 +26,11 @@ export default function JobsHistory() { {(jobs.map((job, subindex) => ( - {JobEntry(job)} + )))} - ))} + ))}
) }