Badge duplication glitch was too good to be true

main
Vendicated 2 years ago
parent d94b28fb8e
commit 0d665b7e0b
No known key found for this signature in database
GPG Key ID: A1DC0CFB5615D905

@ -47,9 +47,11 @@ const ContributorBadge: ProfileBadge = {
link: "https://github.com/Vendicated/Vencord" link: "https://github.com/Vendicated/Vencord"
}; };
const DonorBadges = {} as Record<string, Pick<ProfileBadge, "image" | "description">[]>; let DonorBadges = {} as Record<string, Pick<ProfileBadge, "image" | "description">[]>;
async function loadBadges(noCache = false) { async function loadBadges(noCache = false) {
DonorBadges = {};
const init = {} as RequestInit; const init = {} as RequestInit;
if (noCache) if (noCache)
init.cache = "no-cache"; init.cache = "no-cache";

Loading…
Cancel
Save