Badge duplication glitch was too good to be true

main
Vendicated 1 year 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"
};
const DonorBadges = {} as Record<string, Pick<ProfileBadge, "image" | "description">[]>;
let DonorBadges = {} as Record<string, Pick<ProfileBadge, "image" | "description">[]>;
async function loadBadges(noCache = false) {
DonorBadges = {};
const init = {} as RequestInit;
if (noCache)
init.cache = "no-cache";

Loading…
Cancel
Save