avoid showing ugly red error cards to users

This commit is contained in:
Vendicated 2025-06-06 18:48:56 +02:00
parent e7076f5aee
commit fae15dbdfe
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
11 changed files with 20 additions and 18 deletions

View file

@ -99,7 +99,7 @@ export default definePlugin({
src={`${location.protocol}//${window.GLOBAL_ENV.CDN_HOST}/role-icons/${roleId}/${role.icon}.webp?size=24&quality=lossless`}
/>
);
}),
}, { noop: true }),
});
function getUsernameString(username: string) {