Skip to content

Commit

Permalink
Fallback value for work.end (BartoszJarocki#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliamaino-fp committed Apr 5, 2024
1 parent 7b40b0b commit 82fd007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 82fd007

Please sign in to comment.