Skip to content

Commit

Permalink
small p
Browse files Browse the repository at this point in the history
  • Loading branch information
thammarith committed Oct 7, 2023
1 parent 7224a23 commit 0ba0a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/index/ExperienceCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const getLogo = (slug: Props['slug']): ImageMetadata => {
const getServiceYear = (positions: Props['positions']) => {
const [start, end] = [positions.at(-1)?.startDate?.getFullYear(), positions.at(0)?.endDate?.getFullYear()]
if (start === end) return `${start}`;
return`${start}${end ?? 'Present'}`;
return`${start}${end ?? 'present'}`;
}

export const ExperienceCard: Component<Props> = (props) => (
Expand Down

0 comments on commit 0ba0a32

Please sign in to comment.