From 41facbabbf963b0846441381b3d261ccb98644bf Mon Sep 17 00:00:00 2001 From: Alem Tuzlak Date: Wed, 27 Nov 2024 15:08:33 +0100 Subject: [PATCH] Converted sitemap.lang to use typegened value from react-router --- app/routes/sitemap.$lang[.]xml.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/sitemap.$lang[.]xml.ts b/app/routes/sitemap.$lang[.]xml.ts index 3f90b45..813426b 100644 --- a/app/routes/sitemap.$lang[.]xml.ts +++ b/app/routes/sitemap.$lang[.]xml.ts @@ -1,6 +1,6 @@ import { generateRemixSitemap } from "@forge42/seo-tools/remix/sitemap" import { createDomain } from "~/utils/http" -import { Route } from "./+types/sitemap.$lang[.]xml" +import type { Route } from "./+types/sitemap.$lang[.]xml" export const loader = async ({ request, params }: Route.LoaderArgs) => { const domain = createDomain(request)