Fallback value for work.end

This commit is contained in:
Elia Maino 2023-12-27 11:09:56 +01:00 committed by GitHub
parent f6f5bffed7
commit b5d716077d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,7 +123,7 @@ export default function Page() {
</span>
</h3>
<div className="text-sm tabular-nums text-gray-500">
{work.start} - {work.end}
{work.start} - {work.end ?? "Present"}
</div>
</div>