Badge duplication glitch was too good to be true
This commit is contained in:
parent
d94b28fb8e
commit
0d665b7e0b
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue