mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2025-10-26 13:09:04 +08:00
style: remove unnecessary empty line in icon-card
- Clean up code formatting by removing extra blank line - Improve code consistency and readability
This commit is contained in:
@@ -12,7 +12,6 @@ export function IconCard({ name, data: iconData, matchedAlias }: { name: string;
|
|||||||
const imageUrl = isCommunityIcon ? iconData.base : `${BASE_URL}/${iconData.base}/${iconData.colors?.light || name}.${iconData.base}`
|
const imageUrl = isCommunityIcon ? iconData.base : `${BASE_URL}/${iconData.base}/${iconData.colors?.light || name}.${iconData.base}`
|
||||||
|
|
||||||
const linkHref = isCommunityIcon ? `/community/${name}` : `/icons/${name}`
|
const linkHref = isCommunityIcon ? `/community/${name}` : `/icons/${name}`
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<MagicCard className="rounded-md shadow-md">
|
<MagicCard className="rounded-md shadow-md">
|
||||||
<Link prefetch={false} href={linkHref} className="group flex flex-col items-center p-3 sm:p-4 cursor-pointer">
|
<Link prefetch={false} href={linkHref} className="group flex flex-col items-center p-3 sm:p-4 cursor-pointer">
|
||||||
|
|||||||
Reference in New Issue
Block a user