Badge duplication glitch was too good to be true
This commit is contained in:
parent
d94b28fb8e
commit
0d665b7e0b
@ -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…
x
Reference in New Issue
Block a user