Fix roadmap json

pull/4017/head
Kamran Ahmed 1 year ago
parent dec5e58063
commit b58c2a1356
  1. 2
      src/pages/[roadmapId]/index.json.ts
  2. 2
      src/pages/best-practices/[bestPracticeId]/index.json.ts

@ -14,7 +14,7 @@ export async function getStaticPaths() {
roadmapId, roadmapId,
}, },
props: { props: {
roadmapJson: roadmapJson, roadmapJson: roadmapJson?.default,
}, },
}; };
}); });

@ -17,7 +17,7 @@ export async function getStaticPaths() {
bestPracticeId, bestPracticeId,
}, },
props: { props: {
bestPracticeJson: bestPracticeJson, bestPracticeJson: bestPracticeJson?.default,
}, },
}; };
}); });

Loading…
Cancel
Save