So I tried pushing an old project to vercel, had to update dependencies bc of this[kFormat] error and now my slug isn't working anymore. Checked astro migration guide but didn't see any changes that could be problematic.
const allContent = await Astro.glob("../../content/*.mdx");
const paths = allContent.map((content) => {
const slug = getSlugFromPath(content.file);
return {
params: { slug },
props: { content },
};
});
return paths;
}
const { content } = Astro.props;```
When I try to use content.frontmatter.title, it appears to be undefined.