Skip to content

Commit

Permalink
fix: only render changelog description typography if one is given
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Busch committed Jul 1, 2024
1 parent 8632720 commit 4c9fac4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/components/MinimalChangelogList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ export const MinimalChangelogList: React.FC<Props> = ({
<div key={`changelog-${index}`}>
<Box sx={() => ({ marginBottom: "8px" })}>
<Typography level="h3" sx={() => ({ marginRight: "8px" })}>
Version {changelog.version}:
Version {changelog.version}
</Typography>
<Typography>{changelog.description}</Typography>
{changelog.description && (
<Typography>{changelog.description}</Typography>
)}
</Box>
<List
marker={"circle"}
Expand Down

0 comments on commit 4c9fac4

Please sign in to comment.