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 ( <>