diff options
Diffstat (limited to 'apps/web/src/app/changelog/components')
| -rw-r--r-- | apps/web/src/app/changelog/components/copy-markdown-button.tsx | 2 | ||||
| -rw-r--r-- | apps/web/src/app/changelog/components/release.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/app/changelog/components/copy-markdown-button.tsx b/apps/web/src/app/changelog/components/copy-markdown-button.tsx index edb920f5..7ea18b2a 100644 --- a/apps/web/src/app/changelog/components/copy-markdown-button.tsx +++ b/apps/web/src/app/changelog/components/copy-markdown-button.tsx @@ -23,7 +23,7 @@ function buildMarkdown({ const { grouped, orderedTypes } = groupAndOrderChanges({ changes });
for (const type of orderedTypes) {
- lines.push(`## ${getSectionTitle(type)}`);
+ lines.push(`## ${getSectionTitle({ type })}`);
for (const change of grouped[type]) {
lines.push(`- ${change.text}`);
}
diff --git a/apps/web/src/app/changelog/components/release.tsx b/apps/web/src/app/changelog/components/release.tsx index 2226c321..10dcf561 100644 --- a/apps/web/src/app/changelog/components/release.tsx +++ b/apps/web/src/app/changelog/components/release.tsx @@ -87,7 +87,7 @@ export function ReleaseChanges({ release }: { release: Release }) { {orderedTypes.map((type) => (
<div key={type} className="flex flex-col gap-1.5">
<h3 className="text-base font-semibold text-foreground">
- {getSectionTitle(type)}:
+ {getSectionTitle({ type })}:
</h3>
<ul className="list-disc pl-5 space-y-1.5">
{grouped[type].map((change) => (
|
