Refactor roadmap id

This commit is contained in:
Kamran Ahmed
2021-09-04 18:51:49 +02:00
parent ad427eceee
commit 9b97fce431
3 changed files with 8 additions and 16 deletions

View File

@@ -44,7 +44,7 @@ export default function Home(props: HomeProps) {
<SimpleGrid columns={[1, 2, 3]} spacing={['10px', '10px', '15px']}>
{roadmaps.map((roadmap: RoadmapType, counter: number) => (
<HomeRoadmapItem
url={roadmap.url}
url={`/${roadmap.id}`}
key={roadmap.id}
colorIndex={counter}
title={roadmap.featuredTitle}