From 0806fc09d8f051fd1f6d41c793696a9491315f28 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Tue, 10 Dec 2024 00:41:22 +0800 Subject: [PATCH] perf: remove dev log --- app/(main)/ClientComponents/InteractiveMap.tsx | 4 ---- app/(main)/ClientComponents/ServerListClient.tsx | 1 - 2 files changed, 5 deletions(-) diff --git a/app/(main)/ClientComponents/InteractiveMap.tsx b/app/(main)/ClientComponents/InteractiveMap.tsx index 94d5caa..3776cc8 100644 --- a/app/(main)/ClientComponents/InteractiveMap.tsx +++ b/app/(main)/ClientComponents/InteractiveMap.tsx @@ -64,10 +64,6 @@ export function InteractiveMap({ feature.properties.iso_a2_eh, ); - if (isHighlighted) { - console.log(feature.properties.iso_a2_eh); - } - const serverCount = serverCounts[feature.properties.iso_a2_eh] || 0; return ( diff --git a/app/(main)/ClientComponents/ServerListClient.tsx b/app/(main)/ClientComponents/ServerListClient.tsx index 8d10961..af6e7bc 100644 --- a/app/(main)/ClientComponents/ServerListClient.tsx +++ b/app/(main)/ClientComponents/ServerListClient.tsx @@ -34,7 +34,6 @@ export default function ServerListClient() { useEffect(() => { const inlineState = localStorage.getItem("inline"); if (inlineState !== null) { - console.log("inlineState", inlineState); setInline(inlineState); } }, []);