diff --git a/src/plugins/apiBadges.tsx b/src/plugins/apiBadges.tsx index 48e9eb9..aaa1860 100644 --- a/src/plugins/apiBadges.tsx +++ b/src/plugins/apiBadges.tsx @@ -47,9 +47,11 @@ const ContributorBadge: ProfileBadge = { link: "https://github.com/Vendicated/Vencord" }; -const DonorBadges = {} as Record[]>; +let DonorBadges = {} as Record[]>; async function loadBadges(noCache = false) { + DonorBadges = {}; + const init = {} as RequestInit; if (noCache) init.cache = "no-cache";