Skip to content

Commit

Permalink
Fix typing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
drik98 committed Aug 1, 2024
1 parent 3d4aa4d commit f050075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import about from "@/content/about.json";
import profilePic from "@/cv/profile_picture.jpg";
import styles from "./About.module.scss";
import { formatDate } from "@/util/date-time";
import { Locale, Messages } from "@/util/i18n";
import { Locale, Messages, getMultilingualContent } from "@/util/i18n";

const birthDate = new Date(about.birthday);
const currentDate = new Date();
Expand All @@ -28,7 +28,7 @@ export default function About({
formatDate(new Date(currentJob.startDate), locale, messages)
)
.replace("{jobTitle}", String(currentJob.title))
.replace("{company}", currentJob.company);
.replace("{company}", getMultilingualContent(currentJob.company, locale));

return (
<div id="about" className={styles.about}>
Expand Down

1 comment on commit f050075

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.