mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
fix: lint
This commit is contained in:
parent
a75aa209f2
commit
1e7e4c6678
@ -1,5 +1,4 @@
|
||||
import { useTranslations } from "next-intl";
|
||||
import Image from "next/image";
|
||||
import Link from "next/link";
|
||||
|
||||
import Footer from "./(main)/footer";
|
||||
|
@ -12,7 +12,6 @@ import {
|
||||
import { cn, formatBytes, formatNezhaInfo } from "@/lib/utils";
|
||||
import { useTranslations } from "next-intl";
|
||||
import Link from "next/link";
|
||||
import { useRouter } from "next/navigation";
|
||||
|
||||
export default function ServerCard({
|
||||
serverInfo,
|
||||
@ -20,7 +19,6 @@ export default function ServerCard({
|
||||
serverInfo: NezhaAPISafe;
|
||||
}) {
|
||||
const t = useTranslations("ServerCard");
|
||||
const router = useRouter();
|
||||
const { id, name, country_code, online, cpu, up, down, mem, stg, host } =
|
||||
formatNezhaInfo(serverInfo);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user