mirror of
				https://github.com/walkxcode/dashboard-icons.git
				synced 2025-11-04 10:38:56 +01:00 
			
		
		
		
	fix(wordmark): image url is wrong
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user