Merge branch 'main' into cloudflare

This commit is contained in:
hamster1963 2024-10-11 15:13:57 +08:00
commit 119a8432d3

View File

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