diff --git a/app/(main)/ClientComponents/Global.tsx b/app/(main)/ClientComponents/Global.tsx index 1982db0..e257f4b 100644 --- a/app/(main)/ClientComponents/Global.tsx +++ b/app/(main)/ClientComponents/Global.tsx @@ -20,6 +20,10 @@ export default async function ServerGlobal() { } }); + countrytList.push("TW"); + countrytList.push("SG"); + countrytList.push("RU"); + const width = 900; const height = 500; diff --git a/app/(main)/ClientComponents/InteractiveMap.tsx b/app/(main)/ClientComponents/InteractiveMap.tsx index c6cf93f..5c54f1d 100644 --- a/app/(main)/ClientComponents/InteractiveMap.tsx +++ b/app/(main)/ClientComponents/InteractiveMap.tsx @@ -2,6 +2,7 @@ import { countryCodeMapping } from "@/lib/geo"; import { geoEqualEarth, geoPath } from "d3-geo"; +import { AnimatePresence, m } from "framer-motion"; import { useTranslations } from "next-intl"; import { useState } from "react"; @@ -88,21 +89,26 @@ export function InteractiveMap({ })} - {tooltipData && ( -
{tooltipData.country}
-- {tooltipData.count} {t("Servers")} -
-{tooltipData.country}
++ {tooltipData.count} {t("Servers")} +
+