diff --git a/components/ChangelogTabs.tsx b/components/ChangelogTabs.tsx index a3e02f7..59da8a4 100644 --- a/components/ChangelogTabs.tsx +++ b/components/ChangelogTabs.tsx @@ -2,7 +2,7 @@ import { useEffect, useState } from 'react' import { PortableTextRenderer } from '@/components/PortableTextRenderer' -import type { ChangelogEntry, RoadmapItemData, Tab, VoteState } from '@/types/changelog' +import type { ChangelogEntry, RoadmapItemData, Tab } from '@/types/changelog' const TABS: { id: Tab; label: string }[] = [ { id: 'whats-new', label: "What's New" }, @@ -86,9 +86,9 @@ export function ChangelogTabs({

- {entry.tags?.length > 0 && ( + {(entry.tags?.length ?? 0) > 0 && (
- {entry.tags.map((tag) => ( + {(entry.tags ?? []).map((tag) => (