File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { getRoadmap } from '@/lib/content/loader' ;
2+ import type { RoadmapItem as RoadmapItemType } from '@/lib/content/types' ;
23
34import 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" >
You can’t perform that action at this time.
0 commit comments