diff --git a/src/app/components/user-profile/UserHero.tsx b/src/app/components/user-profile/UserHero.tsx index 9dc9c9c50..bb4acc103 100644 --- a/src/app/components/user-profile/UserHero.tsx +++ b/src/app/components/user-profile/UserHero.tsx @@ -80,7 +80,7 @@ export function UserHero({ userId, avatarUrl, bannerUrl, presence, autoplayGifs shadeColor(backgroundColor, isBackgroundDark ? -80 : 80) ?? standardColors.Background.Container; const textColor = ((fetchedBrightness === 'dark' || areColorsTooSimilar('#000000', cardColor)) && '#FFFFFF') || - ((fetchedBrightness === 'light' || areColorsTooSimilar('#FFFFFF',cardColor)) && '#000000') || + ((fetchedBrightness === 'light' || areColorsTooSimilar('#FFFFFF', cardColor)) && '#000000') || undefined; return ( diff --git a/src/app/components/user-profile/UserRoomProfile.tsx b/src/app/components/user-profile/UserRoomProfile.tsx index 5bbf98a64..8fb3ac253 100644 --- a/src/app/components/user-profile/UserRoomProfile.tsx +++ b/src/app/components/user-profile/UserRoomProfile.tsx @@ -508,7 +508,7 @@ export function UserRoomProfile({ userId, initialProfile }: Readonly