From af261ef4166265d0aff7c868386e1727ebfa04dc Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Sat, 15 Nov 2025 06:32:29 -0500 Subject: [PATCH] ShowBadgesInChat: Fix Donor Badges --- src/equicordplugins/showBadgesInChat/index.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/equicordplugins/showBadgesInChat/index.tsx b/src/equicordplugins/showBadgesInChat/index.tsx index 6e1b51809..ec23fde67 100644 --- a/src/equicordplugins/showBadgesInChat/index.tsx +++ b/src/equicordplugins/showBadgesInChat/index.tsx @@ -38,18 +38,15 @@ function CheckBadge({ badge, author }: { badge: string; author: User; }): JSX.El switch (badge) { case "EquicordDonor": - const equicordDonorBadges = badges.getEquicordDonorBadges(author.id)?.slice(0, 12); - if (!equicordDonorBadges || equicordDonorBadges.length === 0) return null; - return ( - {equicordDonorBadges.map((badge: any) => ( + {badges.getEquicordDonorBadges(author.id)?.map(badge => ( ))} @@ -74,7 +71,7 @@ function CheckBadge({ badge, author }: { badge: string; author: User; }): JSX.El className={roleIconClassName} name={badge.description} size={20} - src={badge.image} + src={badge.iconSrc} /> ))}