diff --git a/src/components/experience/index.jsx b/src/components/experience/index.jsx index afb6ef5..3387166 100644 --- a/src/components/experience/index.jsx +++ b/src/components/experience/index.jsx @@ -2,7 +2,7 @@ import { skeleton } from '../../helpers/utils'; import { Fragment } from 'react'; import PropTypes from 'prop-types'; -const ListItem = ({ time, position, company, link }) => ( +const ListItem = ({ time, position, company, companyLink }) => (
  • (
    {time}

    {position}

    - + {company}
    @@ -74,7 +69,7 @@ const Experience = ({ experiences, loading }) => { time={`${experience.from} - ${experience.to}`} position={experience.position} company={experience.company} - link={ + companyLink={ experience.companyLink ? experience.companyLink : null } /> @@ -94,7 +89,7 @@ ListItem.propTypes = { time: PropTypes.node, position: PropTypes.node, company: PropTypes.node, - link: PropTypes.string, + companyLink: PropTypes.string, }; Experience.propTypes = {