diff --git a/src/components/link/ProjectChildPageLink.js b/src/components/link/ProjectChildPageLink.js index b301b334..697de4ff 100644 --- a/src/components/link/ProjectChildPageLink.js +++ b/src/components/link/ProjectChildPageLink.js @@ -5,7 +5,7 @@ export const getLinkData = (childPage, projectSlug) => ({ pathname: `/${childPage}`, query: { projectName: projectSlug }, }, - asPath: `/projects/${projectSlug}/${projectSlug}-${childPage}`, + asPath: `/projects/${projectSlug}/${childPage}`, }); const ProjectChildPageLink = ({ childPage, projectSlug, children, className = '', prefetch = false }) => {