diff --git a/app/[locale]/(main)/ClientComponents/NetworkChart.tsx b/app/[locale]/(main)/ClientComponents/NetworkChart.tsx index 8a69eccf2..9890b4fa1 100644 --- a/app/[locale]/(main)/ClientComponents/NetworkChart.tsx +++ b/app/[locale]/(main)/ClientComponents/NetworkChart.tsx @@ -181,13 +181,7 @@ export const NetworkChart = React.memo(function NetworkChart({
- { - router.push(`/${locale}/`); - }} - className="flex flex-none cursor-pointer items-center gap-0.5 text-xl" - > - + {serverName} diff --git a/app/[locale]/(main)/ClientComponents/NetworkChartLoading.tsx b/app/[locale]/(main)/ClientComponents/NetworkChartLoading.tsx index 3a9c9088c..6c3d38356 100644 --- a/app/[locale]/(main)/ClientComponents/NetworkChartLoading.tsx +++ b/app/[locale]/(main)/ClientComponents/NetworkChartLoading.tsx @@ -12,13 +12,7 @@ export default function NetworkChartLoading() {
- { - router.push(`/${locale}/`); - }} - className="flex items-center cursor-pointer gap-0.5 text-xl" - > - +
diff --git a/components/Switch.tsx b/components/Switch.tsx index 41e865f33..43db879b8 100644 --- a/components/Switch.tsx +++ b/components/Switch.tsx @@ -2,7 +2,7 @@ import { cn } from "@/lib/utils"; import { motion } from "framer-motion"; -import React, { useRef, useEffect } from "react"; +import React, { useEffect, useRef } from "react"; export default function Switch({ allTag, @@ -52,7 +52,7 @@ export default function Switch({ "relative cursor-pointer rounded-3xl px-2.5 py-[8px] text-[13px] font-[600] transition-all duration-500", nowTag === tag ? "text-black dark:text-white" - : "text-stone-400 dark:text-stone-500" + : "text-stone-400 dark:text-stone-500", )} > {nowTag === tag && (