Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: put the component file in right place (#240)

LuggaPuggad1fdb64b0155
diff --git a/registry/default/magicui/avatar-circles.tsx b/registry/default/magicui/avatar-circles.tsx
index 267b6838..ae93f047 100644
--- a/registry/default/magicui/avatar-circles.tsx
+++ b/registry/default/magicui/avatar-circles.tsx
@@ -39,10 +39,10 @@ const AvatarCircles = ({
/>
</a>
))}
- {numPeople && (
+ {(numPeople ?? 0) > 0 && (
<a
className="flex h-10 w-10 items-center justify-center rounded-full border-2 border-white bg-black text-center text-xs font-medium text-white hover:bg-gray-600 dark:border-gray-800 dark:bg-white dark:text-black"
- href="#"
+ href=""
>
+{numPeople}
</a>