mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
fix: remove flag transform
This commit is contained in:
parent
4c5a012bdc
commit
9ff5913ffb
@ -40,10 +40,6 @@ export default function ServerFlag({
|
|||||||
|
|
||||||
if (!country_code) return null
|
if (!country_code) return null
|
||||||
|
|
||||||
if (supportsEmojiFlags && country_code.toLowerCase() === "tw") {
|
|
||||||
country_code = "cn"
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<span className={cn("text-[12px] text-muted-foreground", className)}>
|
<span className={cn("text-[12px] text-muted-foreground", className)}>
|
||||||
{useSvgFlag || !supportsEmojiFlags ? (
|
{useSvgFlag || !supportsEmojiFlags ? (
|
||||||
|
Loading…
Reference in New Issue
Block a user