From b65d5282e927ed8019ce3c7fb94f7ecede025e6f Mon Sep 17 00:00:00 2001 From: Sami Jaber Date: Thu, 26 Sep 2024 18:29:39 -0300 Subject: [PATCH] f --- packages/docs/src/components/router-head.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/docs/src/components/router-head.tsx b/packages/docs/src/components/router-head.tsx index bee7209d06..87351eb038 100644 --- a/packages/docs/src/components/router-head.tsx +++ b/packages/docs/src/components/router-head.tsx @@ -9,8 +9,11 @@ export const RouterHead = component$(() => { const head = useDocumentHead(); const loc = useLocation(); - const canonicalURL = new URL(loc.url.pathname + loc.url.search + loc.url.hash, 'https://mitosis.builder.io'); - + const canonicalURL = new URL( + loc.url.pathname + loc.url.search + loc.url.hash, + 'https://mitosis.builder.io', + ); + return ( <> {head.title}