From 7218973ce0d4836682332777ea736b1d48080df7 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Mon, 23 Dec 2024 11:07:42 +0800 Subject: [PATCH] fix: remove flag transform --- src/components/ServerFlag.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/ServerFlag.tsx b/src/components/ServerFlag.tsx index d40e7ff..23aefa4 100644 --- a/src/components/ServerFlag.tsx +++ b/src/components/ServerFlag.tsx @@ -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 ( {!supportsEmojiFlags ? : getUnicodeFlagIcon(country_code)}