Skip to content

Commit aece9ac

Browse files
committed
docs: fix build
1 parent 4f29e0e commit aece9ac

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

web/app/roadmap/page.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { getRoadmap } from '@/lib/content/loader';
2+
import type { RoadmapItem as RoadmapItemType } from '@/lib/content/types';
23

34
import type { Metadata } from 'next';
45

@@ -154,9 +155,9 @@ export default function RoadmapPage() {
154155
);
155156
}
156157

157-
function RoadmapItem({ item }: { item: { metadata: Record<string, string>; content: string } }) {
158-
const statusColor = statusColors[item.metadata.status as keyof typeof statusColors] || statusColors.planned;
159-
const statusLabel = statusLabels[item.metadata.status as keyof typeof statusLabels] || 'Unknown';
158+
function RoadmapItem({ item }: { item: RoadmapItemType }) {
159+
const statusColor = statusColors[item.metadata.status] || statusColors.planned;
160+
const statusLabel = statusLabels[item.metadata.status] || 'Unknown';
160161

161162
return (
162163
<div className="border border-gray-200 rounded-lg p-6 hover:border-gray-400 transition-colors">

0 commit comments

Comments
 (0)