From 8fec6dcc9a8befa086a2563b3b3a863ec5bc5edd Mon Sep 17 00:00:00 2001 From: Chris Goodwin <40746380+CGoodwin90@users.noreply.github.com> Date: Thu, 11 Jul 2024 18:31:35 +1000 Subject: [PATCH] Fixes deploytarget link (#286) --- src/components/link/ProjectChildPageLink.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }) => {