
import React from 'react';
import { usePersonContext } from '../hooks/PersonContext';
import JobHistory from './JobHistory';

export default function WorkExperience() {
    const person = usePersonContext()

    return (
      <JobHistory
        jobs={person.jobs}
        heading='Work Experience'
        currentHeading='Current position'
        />
    )
}
