1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-08 08:56:22 +00:00

RoleColorEverywhere: Fix Online/Offline
All checks were successful
Build DevBuild / Build (push) Successful in 20s
Sync to Codeberg / codeberg (push) Has been skipped
test / test (push) Successful in 34s

This commit is contained in:
Nuckyz 2024-11-17 20:42:15 -03:00
parent 5cf22113cf
commit cd61f4e744
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -214,9 +214,9 @@ export default definePlugin({
RoleGroupColor: ErrorBoundary.wrap(({ id, count, title, guildId, label }: { id: string; count: number; title: string; guildId: string; label: string; }) => {
const role = GuildStore.getRole(guildId, id);
return role != null && (
return (
<span style={{
color: role.colorString,
color: role?.colorString,
fontWeight: "unset",
letterSpacing: ".05em"
}}>