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