From 7362c94fe79aa86ba66e859165931a4d9cc90cae Mon Sep 17 00:00:00 2001 From: cgoodwin90 Date: Tue, 9 Jul 2024 10:02:18 +1000 Subject: [PATCH] Fixes deploytarget link --- 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 }) => {