1
0
Fork 0
mirror of https://github.com/homarr-labs/dashboard-icons.git synced 2025-09-29 02:40:20 +02:00

fix(wordmark): image url is wrong

This commit is contained in:
Meier Lukas 2025-09-07 15:35:53 +02:00
parent 4ac15a20f4
commit 331e87a1ea
No known key found for this signature in database
GPG key ID: 3055837A67C58715

View file

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