mirror of
https://github.com/woodchen-ink/nezha-dash-v1.git
synced 2025-07-18 09:31:55 +08:00
fix: remove flag transform
This commit is contained in:
parent
e521ab3861
commit
7218973ce0
@ -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)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user