diff --git a/apps/www/components/Changelog/ChangelogDetailSidebar.tsx b/apps/www/components/Changelog/ChangelogDetailSidebar.tsx index 3d9e2f5f86..ede2362574 100644 --- a/apps/www/components/Changelog/ChangelogDetailSidebar.tsx +++ b/apps/www/components/Changelog/ChangelogDetailSidebar.tsx @@ -10,15 +10,15 @@ import type { ChangelogLabel } from '@/lib/changelog-github' import { SITE_ORIGIN } from '@/lib/constants' type Props = { - number: number + slug: string url: string labels: ChangelogLabel[] className?: string } -export function ChangelogDetailSidebar({ number, url, labels, className }: Props) { +export function ChangelogDetailSidebar({ slug, url, labels, className }: Props) { const { copied, copyMarkdown } = useCopyMarkdownFromUrl() - const mdPath = `/changelog/${number}.md` + const mdPath = `/changelog/${slug}.md` const mdAbs = `${SITE_ORIGIN}${mdPath}` const aiPrompt = `Read from ${mdAbs} so I can ask questions about its contents` diff --git a/apps/www/components/Changelog/ChangelogTimelineList.tsx b/apps/www/components/Changelog/ChangelogTimelineList.tsx index 00f219f679..fc41faefdb 100644 --- a/apps/www/components/Changelog/ChangelogTimelineList.tsx +++ b/apps/www/components/Changelog/ChangelogTimelineList.tsx @@ -141,7 +141,7 @@ export function ChangelogTimelineList(props: Props) {