diff --git a/next/components/projects/DateBlob.tsx b/next/components/projects/DateBlob.tsx index 92fc1f4..665f275 100644 --- a/next/components/projects/DateBlob.tsx +++ b/next/components/projects/DateBlob.tsx @@ -5,9 +5,11 @@ type DateBlobProps = { const DateBlob = ({ timelineElement, isEven, + type, }: { timelineElement: DateBlobProps; isEven: boolean; + type: "current" | "old"; }) => { const dateOptions = { year: "numeric", @@ -15,6 +17,16 @@ const DateBlob = ({ day: "numeric", } as const; // As const ensures it's a literal type not strings as toLocaleDateString expects a literal type +//