Fix PlatformIndicator

This commit is contained in:
Vendicated 2023-02-16 22:30:55 +01:00
parent 224ae979f2
commit fbbc198b1b
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905

View file

@ -55,7 +55,7 @@ const Icons = {
};
type Platform = keyof typeof Icons;
const getStatusColor = findByCodeLazy("STATUS_YELLOW", "TWITCH", "STATUS_GREY");
const getStatusColor = findByCodeLazy(".TWITCH", ".STREAMING", ".INVISIBLE");
const PlatformIcon = ({ platform, status }: { platform: Platform, status: string; }) => {
const tooltip = platform[0].toUpperCase() + platform.slice(1);