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:
parent
4ac15a20f4
commit
331e87a1ea
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue