fix: remove flag transform

This commit is contained in:
hamster1963 2024-12-23 11:07:42 +08:00
parent e521ab3861
commit 7218973ce0

View File

@ -25,10 +25,6 @@ export default function ServerFlag({ country_code, className }: { country_code:
if (!country_code) return null
if (supportsEmojiFlags && country_code.toLowerCase() === "tw") {
country_code = "cn"
}
return (
<span className={cn("text-[12px] text-muted-foreground", className)}>
{!supportsEmojiFlags ? <span className={`fi fi-${country_code}`} /> : getUnicodeFlagIcon(country_code)}