Fix broken variable
This commit is contained in:
@@ -6,7 +6,7 @@ export async function getStaticPaths() {
|
||||
const experiences = await getCollection('experiences');
|
||||
return experiences.map(experience => ({
|
||||
params: {id: experience.id},
|
||||
props: {project: experience},
|
||||
props: {experience: experience},
|
||||
}));
|
||||
}
|
||||
// 2. For your template, you can get the entry directly from the prop
|
||||
|
||||
Reference in New Issue
Block a user