From 331e87a1eadfe9966a97cdeb04c2ce7303266e55 Mon Sep 17 00:00:00 2001 From: Meier Lukas Date: Sun, 7 Sep 2025 15:35:53 +0200 Subject: [PATCH] fix(wordmark): image url is wrong --- web/src/components/icon-details.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/src/components/icon-details.tsx b/web/src/components/icon-details.tsx index 26dce62a..f8555890 100644 --- a/web/src/components/icon-details.tsx +++ b/web/src/components/icon-details.tsx @@ -317,8 +317,7 @@ export function IconDetails({ icon, iconData, authorData, allIcons }: IconDetail } const renderVariant = (format: string, iconName: string, theme?: "light" | "dark") => { - const variantName = theme && iconColorVariants?.[theme] ? iconColorVariants[theme] : iconName - const imageUrl = `${BASE_URL}/${format}/${variantName}.${format}` + const imageUrl = `${BASE_URL}/${format}/${iconName}.${format}` const githubUrl = `${REPO_PATH}/tree/main/${format}/${iconName}.${format}` const variantKey = `${format}-${theme || "default"}` const isCopied = copiedVariants[variantKey] || false