fix link
This commit is contained in:
@@ -82,7 +82,7 @@ export function Menu({ recentCourses }) {
|
|||||||
{recentCourses.map(({ data: { title, slug } }, idx) => {
|
{recentCourses.map(({ data: { title, slug } }, idx) => {
|
||||||
return (
|
return (
|
||||||
<li key={idx}>
|
<li key={idx}>
|
||||||
<a href={slug}>{title}</a>
|
<a href={`/${slug}`}>{title}</a>
|
||||||
</li>
|
</li>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
|
|||||||
Reference in New Issue
Block a user