Skip to content

Commit

Permalink
Update packages/ui/components/AppCard.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Prince Rajpoot <[email protected]>
  • Loading branch information
KhudaDad414 and princerajpoot20 authored Nov 23, 2023
1 parent ee06d28 commit 7fbc518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/components/AppCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const AppCard = ({isActive = false, name, description, badges, className,
{isServer && <ServiceInfoBadge info='server'/>}
</div>
}
{badges.map((badge, index) => (<ServiceInfoBadge info={badge} key={index} />))}
{Array.from(new Set(badges)).map((badge, index) => (<ServiceInfoBadge info={badge} key={badge + index} aria-label={`Badge for ${badge}`} />))}
</div>
</div>
<div className="w-full h-px bg-gray-700"></div>
Expand Down

0 comments on commit 7fbc518

Please sign in to comment.