mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 18:06:22 +00:00
fix(betterActivities): handle fetchApplication errors
This commit is contained in:
parent
853efa7a90
commit
5824528add
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ export function getApplicationIcons(activities: Activity[], preferSmall = false)
|
||||||
fetchedApplications.set(application_id, null);
|
fetchedApplications.set(application_id, null);
|
||||||
fetchApplication(application_id).then(app => {
|
fetchApplication(application_id).then(app => {
|
||||||
fetchedApplications.set(application_id, app);
|
fetchedApplications.set(application_id, app);
|
||||||
});
|
}).catch(console.error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue