diff --git a/starters/apps/qwikcity-test/src/routes/issue5665/projects/index.tsx b/starters/apps/qwikcity-test/src/routes/issue5665/projects/index.tsx index 4fea0a70708..5b92493e3e0 100644 --- a/starters/apps/qwikcity-test/src/routes/issue5665/projects/index.tsx +++ b/starters/apps/qwikcity-test/src/routes/issue5665/projects/index.tsx @@ -2,17 +2,22 @@ import { component$ } from "@builder.io/qwik"; import { Link, useLocation } from "@builder.io/qwik-city"; export default component$((props) => { - const { url: { pathname } } = useLocation(); + const { + url: { pathname }, + } = useLocation(); - const isProjects = pathname.includes('projects') - const hrefPath = isProjects ? 'projekte' : 'projects' + const isProjects = pathname.includes("projects"); + const hrefPath = isProjects ? "projekte" : "projects"; return (
Translated routes from rewriteRoutes get ignored for [...catchall] route in same folder
++ Translated routes from rewriteRoutes get ignored for [...catchall] route + in same folder +
- Go to {isProjects ? 'projekte' : 'projects'} + Go to {isProjects ? "projekte" : "projects"}